mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
TestShell: Simplify default setting of num_nodes
This commit is contained in:
parent
9c7806e4bf
commit
a8dea45524
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@ class TestShell:
|
|||
|
||||
# Num_nodes parameter must be set
|
||||
# by BitcoinTestFramework child class.
|
||||
self.num_nodes = kwargs.get('num_nodes', 1)
|
||||
kwargs.pop('num_nodes', None)
|
||||
self.num_nodes = 1
|
||||
|
||||
# User parameters override default values.
|
||||
for key, value in kwargs.items():
|
||||
|
|
Loading…
Add table
Reference in a new issue