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/p2p-fingerprint.py | |
parent | 5fc6e71d1994d58c25edebd8063555998752349a (diff) |
[tests] Use network_thread_start() in tests.
Diffstat (limited to 'test/functional/p2p-fingerprint.py')
-rwxr-xr-x | test/functional/p2p-fingerprint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p-fingerprint.py b/test/functional/p2p-fingerprint.py index 209c789f22..93ef73e25e 100755 --- a/test/functional/p2p-fingerprint.py +++ b/test/functional/p2p-fingerprint.py @@ -13,12 +13,12 @@ import time from test_framework.blocktools import (create_block, create_coinbase) from test_framework.mininode import ( CInv, - NetworkThread, P2PInterface, msg_headers, msg_block, msg_getdata, msg_getheaders, + network_thread_start, wait_until, ) from test_framework.test_framework import BitcoinTestFramework @@ -77,7 +77,7 @@ class P2PFingerprintTest(BitcoinTestFramework): def run_test(self): node0 = self.nodes[0].add_p2p_connection(P2PInterface()) - NetworkThread().start() + network_thread_start() node0.wait_for_verack() # Set node time to 60 days ago |