mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 15:32:34 +02:00
[tests] Only acquire lock once in p2p_compactblocks.py
This commit is contained in:
parent
0fc6ea216c
commit
edae6075aa
@ -305,7 +305,6 @@ class CompactBlocksTest(BitcoinTestFramework):
|
||||
self.check_compactblock_construction_from_block(version, header_and_shortids, block_hash, block)
|
||||
|
||||
# Now fetch the compact block using a normal non-announce getdata
|
||||
with mininode_lock:
|
||||
test_node.clear_block_announcement()
|
||||
inv = CInv(MSG_CMPCT_BLOCK, block_hash)
|
||||
test_node.send_message(msg_getdata([inv]))
|
||||
|
Loading…
Reference in New Issue
Block a user