mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-18 06:00:43 +02:00
test: Fix extra_args in wallet_import_rescan.py
This commit is contained in:
parent
7d4bc60f1f
commit
fa2e038691
@ -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 New Issue
Block a user