test: Fix extra_args in wallet_import_rescan.py

pull/16920/head
MarcoFalke 5 years ago
parent 7d4bc60f1f
commit fa2e038691
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -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…
Cancel
Save