From ea6b22f8ef0bbbcc49c44535ac2928e923cfa94c Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Mon, 8 Nov 2021 16:14:46 -0800 Subject: [PATCH] test: support walletpassphrase RPC --- lbry/wallet/orchstr8/node.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lbry/wallet/orchstr8/node.py b/lbry/wallet/orchstr8/node.py index 82d39ecff..23d015b9c 100644 --- a/lbry/wallet/orchstr8/node.py +++ b/lbry/wallet/orchstr8/node.py @@ -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)