Fix extended rpc tests broken by 8910b4717e

This commit is contained in:
John Newbery
2017-03-10 15:02:47 -05:00
parent 8910b4717e
commit d055bd69cf
3 changed files with 19 additions and 12 deletions

View File

@@ -87,6 +87,8 @@ class MaxBlocksInFlightTest(BitcoinTestFramework):
def run_test(self):
test = TestManager()
# pass log handler through to the test manager object
test.log = self.log
test.add_new_connection(NodeConn('127.0.0.1', p2p_port(0), self.nodes[0], test))
NetworkThread().start() # Start up network handling in another thread
test.run()