[tests] Use network_thread_start() in tests.

This commit is contained in:
John Newbery
2017-12-08 11:45:46 -05:00
parent 5fc6e71d19
commit 74e64f24b8
22 changed files with 37 additions and 34 deletions

View File

@@ -21,7 +21,7 @@ class P2PMempoolTests(BitcoinTestFramework):
def run_test(self):
# Add a p2p connection
self.nodes[0].add_p2p_connection(P2PInterface())
NetworkThread().start()
network_thread_start()
self.nodes[0].p2p.wait_for_verack()
#request mempool