diff options
Diffstat (limited to 'test/functional/p2p_fingerprint.py')
-rwxr-xr-x | test/functional/p2p_fingerprint.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/p2p_fingerprint.py b/test/functional/p2p_fingerprint.py index f49be62056..412de0149f 100755 --- a/test/functional/p2p_fingerprint.py +++ b/test/functional/p2p_fingerprint.py @@ -50,13 +50,13 @@ class P2PFingerprintTest(BitcoinTestFramework): def send_block_request(self, block_hash, node): msg = msg_getdata() msg.inv.append(CInv(MSG_BLOCK, block_hash)) - node.send_message(msg) + node.send_without_ping(msg) # Send a getheaders request for a given single block hash def send_header_request(self, block_hash, node): msg = msg_getheaders() msg.hashstop = block_hash - node.send_message(msg) + node.send_without_ping(msg) # Checks that stale blocks timestamped more than a month ago are not served # by the node while recent stale blocks and old active chain blocks are. @@ -78,7 +78,7 @@ class P2PFingerprintTest(BitcoinTestFramework): new_blocks = self.build_chain(5, block_hash, height, block_time) # Force reorg to a longer chain - node0.send_message(msg_headers(new_blocks)) + node0.send_without_ping(msg_headers(new_blocks)) node0.wait_for_getdata([x.sha256 for x in new_blocks]) for block in new_blocks: node0.send_and_ping(msg_block(block)) |