From 75b055a2e982e16d05d070defbeb32be64b1d1c5 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 27c922f8a..0ebee9f03 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)