aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2019-09-19 15:31:16 -0400
committerMarcoFalke <[email protected]>2019-09-19 15:25:00 -0400
commitfa2e038691263ddd107df233148d9814630d4a18 (patch)
treec49d91a3cf599faa30cafbd6d71a4118ea879ea2
parentMerge #16743: refactor: move LoadChainTip/RelayBlocks under CChainState (diff)
downloaddiscoin-fa2e038691263ddd107df233148d9814630d4a18.tar.xz
discoin-fa2e038691263ddd107df233148d9814630d4a18.zip
test: Fix extra_args in wallet_import_rescan.py
-rwxr-xr-xtest/functional/wallet_import_rescan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_import_rescan.py b/test/functional/wallet_import_rescan.py
index 4e2089259..79062a4a2 100755
--- a/test/functional/wallet_import_rescan.py
+++ b/test/functional/wallet_import_rescan.py
@@ -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"]