test: support walletpassphrase RPC

This commit is contained in:
Roy Lee 2021-11-08 16:14:46 -08:00 committed by Jack Robison
parent fe04bfa10a
commit 31c60e167a
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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)