test: Fix extra_args in wallet_import_rescan.py
This commit is contained in:
parent
7d4bc60f1f
commit
fa2e038691
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class ImportRescanTest(BitcoinTestFramework):
|
|||
self.skip_if_no_wallet()
|
||||
|
||||
def setup_network(self):
|
||||
self.extra_args = [[]] * self.num_nodes
|
||||
self.extra_args = [[] for _ in range(self.num_nodes)]
|
||||
for i, import_node in enumerate(IMPORT_NODES, 2):
|
||||
if import_node.prune:
|
||||
self.extra_args[i] += ["-prune=1"]
|
||||
|
|
Loading…
Reference in a new issue