diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-10-27 19:17:20 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-11-01 17:54:19 -0500 |
commit | d4b67ad214ada7645c4ce2d5ec336fe5c3f7f7ca (patch) | |
tree | 8a87dde4f09898d7c1913dd23f12b76b79bfab79 /test | |
parent | 6c9c12bf87f95066acc28ea2270a00196eb77703 (diff) |
Avoid creating legacy wallets in wallet_importdescriptors.py
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/wallet_importdescriptors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/wallet_importdescriptors.py b/test/functional/wallet_importdescriptors.py index 743a9ac9ff..949adeb703 100755 --- a/test/functional/wallet_importdescriptors.py +++ b/test/functional/wallet_importdescriptors.py @@ -34,6 +34,7 @@ class ImportDescriptorsTest(BitcoinTestFramework): ["-addresstype=bech32", "-keypool=5"] ] self.setup_clean_chain = True + self.wallet_names = [] def skip_test_if_missing_module(self): self.skip_if_no_wallet() @@ -59,7 +60,7 @@ class ImportDescriptorsTest(BitcoinTestFramework): def run_test(self): self.log.info('Setting up wallets') - self.nodes[0].createwallet(wallet_name='w0', disable_private_keys=False) + self.nodes[0].createwallet(wallet_name='w0', disable_private_keys=False, descriptors=True) w0 = self.nodes[0].get_wallet_rpc('w0') self.nodes[1].createwallet(wallet_name='w1', disable_private_keys=True, blank=True, descriptors=True) |