forked from LBRYCommunity/lbry-sdk
test: support generatetoaddress RPC
This commit is contained in:
parent
75b055a2e9
commit
2381554f8f
1 changed files with 4 additions and 0 deletions
|
@ -419,6 +419,10 @@ 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 generate_to_address(self, blocks, addr):
|
||||||
|
self.block_expected += blocks
|
||||||
|
return self._cli_cmnd('generatetoaddress', str(blocks), addr)
|
||||||
|
|
||||||
def wallet_passphrase(self, passphrase, timeout):
|
def wallet_passphrase(self, passphrase, timeout):
|
||||||
return self._cli_cmnd('walletpassphrase', passphrase, str(timeout))
|
return self._cli_cmnd('walletpassphrase', passphrase, str(timeout))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue