test: Fix extra_args in wallet_import_rescan.py

This commit is contained in:
MarcoFalke 2019-09-19 15:31:16 -04:00
parent 7d4bc60f1f
commit fa2e038691
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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"]