diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-06-18 17:28:37 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-06-25 14:06:41 -0400 |
commit | fa87da2f172ae2e6dc15e9ed156a3564a8ecfbdd (patch) | |
tree | 2693cae5718e45e84182d85a4d041fc084d6bd8e /test/functional/p2p_invalid_block.py | |
parent | fa1eac9cdb1a491d5947b6972b87833792a16fe3 (diff) |
qa: Avoid start/stop of the network thread mid-test
Diffstat (limited to 'test/functional/p2p_invalid_block.py')
-rwxr-xr-x | test/functional/p2p_invalid_block.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/p2p_invalid_block.py b/test/functional/p2p_invalid_block.py index e1f328ba77..c981968026 100755 --- a/test/functional/p2p_invalid_block.py +++ b/test/functional/p2p_invalid_block.py @@ -14,7 +14,7 @@ import copy from test_framework.blocktools import create_block, create_coinbase, create_transaction from test_framework.messages import COIN -from test_framework.mininode import network_thread_start, P2PDataStore +from test_framework.mininode import P2PDataStore from test_framework.test_framework import BitcoinTestFramework from test_framework.util import assert_equal @@ -28,8 +28,6 @@ class InvalidBlockRequestTest(BitcoinTestFramework): # Add p2p connection to node0 node = self.nodes[0] # convenience reference to the node node.add_p2p_connection(P2PDataStore()) - - network_thread_start() node.p2p.wait_for_verack() best_block = node.getblock(node.getbestblockhash()) |