Avoid creating legacy wallets in wallet_importdescriptors.py
This commit is contained in:
parent
6c9c12bf87
commit
d4b67ad214
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ class ImportDescriptorsTest(BitcoinTestFramework):
|
||||||
["-addresstype=bech32", "-keypool=5"]
|
["-addresstype=bech32", "-keypool=5"]
|
||||||
]
|
]
|
||||||
self.setup_clean_chain = True
|
self.setup_clean_chain = True
|
||||||
|
self.wallet_names = []
|
||||||
|
|
||||||
def skip_test_if_missing_module(self):
|
def skip_test_if_missing_module(self):
|
||||||
self.skip_if_no_wallet()
|
self.skip_if_no_wallet()
|
||||||
|
@ -59,7 +60,7 @@ class ImportDescriptorsTest(BitcoinTestFramework):
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
self.log.info('Setting up wallets')
|
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')
|
w0 = self.nodes[0].get_wallet_rpc('w0')
|
||||||
|
|
||||||
self.nodes[1].createwallet(wallet_name='w1', disable_private_keys=True, blank=True, descriptors=True)
|
self.nodes[1].createwallet(wallet_name='w1', disable_private_keys=True, blank=True, descriptors=True)
|
||||||
|
|
Loading…
Reference in a new issue