forked from LBRYCommunity/lbry-sdk
test: support walletpassphrase RPC
This commit is contained in:
parent
fe04bfa10a
commit
31c60e167a
1 changed files with 3 additions and 0 deletions
|
@ -421,6 +421,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