test: support walletpassphrase RPC
This commit is contained in:
parent
223d11200b
commit
967cc9f0ab
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue