Skip to content

Commit 150340a

Browse files
committed
test: remove unneeded extra_args code
1 parent 989a52e commit 150340a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,7 @@ def setup_network(self):
408408

409409
def setup_nodes(self):
410410
"""Override this method to customize test node setup"""
411-
extra_args = [[]] * self.num_nodes
412-
if hasattr(self, "extra_args"):
413-
extra_args = self.extra_args
414-
self.add_nodes(self.num_nodes, extra_args)
411+
self.add_nodes(self.num_nodes, self.extra_args)
415412
self.start_nodes()
416413
if self.requires_wallet:
417414
self.import_deterministic_coinbase_privkeys()

0 commit comments

Comments
 (0)