aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p-fullblocktest.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-12-08 11:45:46 -0500
committerJohn Newbery <john@johnnewbery.com>2017-12-11 09:17:21 -0500
commit74e64f24b8cb701379b34442f21332361dcc91f9 (patch)
tree3ee92d07ceebf41e012931c689d74beda27ebe73 /test/functional/p2p-fullblocktest.py
parent5fc6e71d1994d58c25edebd8063555998752349a (diff)
[tests] Use network_thread_start() in tests.
Diffstat (limited to 'test/functional/p2p-fullblocktest.py')
-rwxr-xr-xtest/functional/p2p-fullblocktest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/p2p-fullblocktest.py b/test/functional/p2p-fullblocktest.py
index f19b845a32..010dbdccad 100755
--- a/test/functional/p2p-fullblocktest.py
+++ b/test/functional/p2p-fullblocktest.py
@@ -18,6 +18,7 @@ from test_framework.blocktools import *
import time
from test_framework.key import CECKey
from test_framework.script import *
+from test_framework.mininode import network_thread_start
import struct
class PreviousSpendableOutput():
@@ -68,7 +69,7 @@ class FullBlockTest(ComparisonTestFramework):
def run_test(self):
self.test = TestManager(self, self.options.tmpdir)
self.test.add_all_connections(self.nodes)
- NetworkThread().start() # Start up network handling in another thread
+ network_thread_start()
self.test.run()
def add_transactions_to_block(self, block, tx_list):