[tests] Avoid passing around member variables in test_framework

Github-Pull: #11121
Rebased-From: 6cf094a022
This commit is contained in:
John Newbery
2017-08-24 11:37:25 -04:00
committed by MarcoFalke
parent 4d3ba18386
commit bb5e7cb308
11 changed files with 36 additions and 36 deletions

View File

@@ -60,7 +60,7 @@ class AssumeValidTest(BitcoinTestFramework):
self.num_nodes = 3
def setup_network(self):
self.add_nodes(3, self.options.tmpdir)
self.add_nodes(3)
# Start node0. We don't start the other nodes yet since
# we need to pre-mine a block with an invalid transaction
# signature so we can pass in the block hash as assumevalid.