aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/test_framework.py
diff options
context:
space:
mode:
authorjosibake <josibake@protonmail.com>2022-12-01 16:55:43 +0100
committerjosibake <josibake@protonmail.com>2022-12-01 16:55:43 +0100
commit150340aeacb5e884cb875c77dc10c0d8b9984a33 (patch)
tree6871cb20f6d68f8ab7face34cb8826076f5896f6 /test/functional/test_framework/test_framework.py
parent989a52e0a50c0ae30a5c2bd3c08bb3ad1363a250 (diff)
test: remove unneeded extra_args code
Diffstat (limited to 'test/functional/test_framework/test_framework.py')
-rwxr-xr-xtest/functional/test_framework/test_framework.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py
index 3c40eafc79..2d7f2a13e8 100755
--- a/test/functional/test_framework/test_framework.py
+++ b/test/functional/test_framework/test_framework.py
@@ -408,10 +408,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
def setup_nodes(self):
"""Override this method to customize test node setup"""
- extra_args = [[]] * self.num_nodes
- if hasattr(self, "extra_args"):
- extra_args = self.extra_args
- self.add_nodes(self.num_nodes, extra_args)
+ self.add_nodes(self.num_nodes, self.extra_args)
self.start_nodes()
if self.requires_wallet:
self.import_deterministic_coinbase_privkeys()