mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-29 16:31:25 +00:00
test: support walletpassphrase RPC
This commit is contained in:
parent
85a96e738c
commit
ea6b22f8ef
1 changed files with 3 additions and 0 deletions
|
@ -419,6 +419,9 @@ class BlockchainNode:
|
||||||
self.block_expected += blocks
|
self.block_expected += blocks
|
||||||
return self._cli_cmnd('generate', str(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):
|
def invalidate_block(self, blockhash):
|
||||||
return self._cli_cmnd('invalidateblock', blockhash)
|
return self._cli_cmnd('invalidateblock', blockhash)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue