mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
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"]
|
||||
]
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue