mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-03 01:09:14 +01:00
[tests] Use network_thread_start() in tests.
This commit is contained in:
@@ -66,7 +66,7 @@ class VersionBitsWarningTest(BitcoinTestFramework):
|
||||
# Setup the p2p connection and start up the network thread.
|
||||
self.nodes[0].add_p2p_connection(TestNode())
|
||||
|
||||
NetworkThread().start() # Start up network handling in another thread
|
||||
network_thread_start()
|
||||
|
||||
# Test logic begins here
|
||||
self.nodes[0].p2p.wait_for_verack()
|
||||
|
||||
Reference in New Issue
Block a user