diff options
author | John Newbery <john@johnnewbery.com> | 2017-12-08 11:45:46 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-12-11 09:17:21 -0500 |
commit | 74e64f24b8cb701379b34442f21332361dcc91f9 (patch) | |
tree | 3ee92d07ceebf41e012931c689d74beda27ebe73 /test/functional/sendheaders.py | |
parent | 5fc6e71d1994d58c25edebd8063555998752349a (diff) |
[tests] Use network_thread_start() in tests.
Diffstat (limited to 'test/functional/sendheaders.py')
-rwxr-xr-x | test/functional/sendheaders.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/sendheaders.py b/test/functional/sendheaders.py index 99b7f6b99e..256227f721 100755 --- a/test/functional/sendheaders.py +++ b/test/functional/sendheaders.py @@ -90,7 +90,7 @@ from test_framework.mininode import ( CBlockHeader, CInv, NODE_WITNESS, - NetworkThread, + network_thread_start, P2PInterface, mininode_lock, msg_block, @@ -238,7 +238,7 @@ class SendHeadersTest(BitcoinTestFramework): # will occur outside of direct fetching test_node = self.nodes[0].add_p2p_connection(BaseNode(), services=NODE_WITNESS) - NetworkThread().start() # Start up network handling in another thread + network_thread_start() # Test logic begins here inv_node.wait_for_verack() |