test: support walletpassphrase RPC

This commit is contained in:
Roy Lee 2021-11-08 16:14:46 -08:00 committed by Lex Berezhny
parent 223d11200b
commit 967cc9f0ab

View file

@ -419,6 +419,9 @@ class BlockchainNode:
self.block_expected += blocks
return self._cli_cmnd('generate', str(blocks))
def wallet_passphrase(self, passphrase, timeout):
return self._cli_cmnd('walletpassphrase', passphrase, str(timeout))
def invalidate_block(self, blockhash):
return self._cli_cmnd('invalidateblock', blockhash)