diff options
author | Andrew Chow <achow101-github@achow101.com> | 2021-03-01 17:37:25 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-06-24 14:08:46 -0400 |
commit | e6cf0ed92de31a5ac35a271b0da8f0a8364d1175 (patch) | |
tree | c963f0e090f205620a481ce94b9bfabd632aedd4 /test | |
parent | 3280704886b60644d103a5eb310691c003a39328 (diff) | |
download | bitcoin-e6cf0ed92de31a5ac35a271b0da8f0a8364d1175.tar.xz |
wallet, rpc: listdescriptors does not need unlocked
With the last hardened xpub cache, we don't neeed to have the wallet be
unlocked for listdescriptors.
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/wallet_listdescriptors.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/wallet_listdescriptors.py b/test/functional/wallet_listdescriptors.py index c1444164ce..bf53c99855 100755 --- a/test/functional/wallet_listdescriptors.py +++ b/test/functional/wallet_listdescriptors.py @@ -72,6 +72,10 @@ class ListDescriptorsTest(BitcoinTestFramework): } assert_equal(expected, wallet.listdescriptors()) + self.log.info("Test listdescriptors with encrypted wallet") + wallet.encryptwallet("pass") + assert_equal(expected, wallet.listdescriptors()) + self.log.info('Test non-active non-range combo descriptor') node.createwallet(wallet_name='w4', blank=True, descriptors=True) wallet = node.get_wallet_rpc('w4') |