mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 18:20:58 +02:00
qa: Avoid start/stop of the network thread mid-test
This commit is contained in:
@ -49,7 +49,7 @@ import time
|
||||
|
||||
from test_framework.blocktools import create_coinbase, create_block
|
||||
from test_framework.messages import ToHex, CTransaction
|
||||
from test_framework.mininode import network_thread_start, P2PDataStore
|
||||
from test_framework.mininode import P2PDataStore
|
||||
from test_framework.script import (
|
||||
CScript,
|
||||
OP_CHECKSEQUENCEVERIFY,
|
||||
@ -183,7 +183,6 @@ class BIP68_112_113Test(BitcoinTestFramework):
|
||||
|
||||
def run_test(self):
|
||||
self.nodes[0].add_p2p_connection(P2PDataStore())
|
||||
network_thread_start()
|
||||
self.nodes[0].p2p.wait_for_verack()
|
||||
|
||||
self.log.info("Generate blocks in the past for coinbase outputs.")
|
||||
|
Reference in New Issue
Block a user