Skip to content

Commit facb41b

Browse files
author
MarcoFalke
committed
test: Remove unused p2p_lock in VersionBitsWarningTest
1 parent 28f4e53 commit facb41b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/feature_versionbits_warning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from test_framework.blocktools import create_block, create_coinbase
1414
from test_framework.messages import msg_block
15-
from test_framework.p2p import p2p_lock, P2PInterface
15+
from test_framework.p2p import P2PInterface
1616
from test_framework.test_framework import BitcoinTestFramework
1717

1818
VB_PERIOD = 144 # versionbits period length for regtest
@@ -90,7 +90,7 @@ def run_test(self):
9090

9191
# Generating one block guarantees that we'll get out of IBD
9292
node.generatetoaddress(1, node_deterministic_address)
93-
self.wait_until(lambda: not node.getblockchaininfo()['initialblockdownload'], timeout=10, lock=p2p_lock)
93+
self.wait_until(lambda: not node.getblockchaininfo()['initialblockdownload'])
9494
# Generating one more block will be enough to generate an error.
9595
node.generatetoaddress(1, node_deterministic_address)
9696
# Check that get*info() shows the versionbits unknown rules warning

0 commit comments

Comments
 (0)