mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
scripted-diff: test: Rename send_message to send_without_ping
send_message only drops the bytes in a buffer and a sync is needed to
avoid intermittent test issues. Change the name of the method to make
this more apparent during review.
-BEGIN VERIFY SCRIPT-
sed -i 's/send_message(/send_without_ping(/g' $( git grep -l 'send_message(' )
-END VERIFY SCRIPT-
This commit is contained in:
@@ -47,7 +47,7 @@ class VersionBitsWarningTest(BitcoinTestFramework):
|
||||
for _ in range(numblocks):
|
||||
block = create_block(tip, create_coinbase(height + 1), block_time, version=version)
|
||||
block.solve()
|
||||
peer.send_message(msg_block(block))
|
||||
peer.send_without_ping(msg_block(block))
|
||||
block_time += 1
|
||||
height += 1
|
||||
tip = block.sha256
|
||||
|
||||
Reference in New Issue
Block a user