mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-01 16:31:33 +01:00
[tests] Use network_thread_start() in tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user