From 9f5608c2893f89cd56c7c548b748996199e0da1d Mon Sep 17 00:00:00 2001 From: Danny Lee Date: Fri, 17 Apr 2020 02:23:02 -0700 Subject: test: check for matching object hashes in wait_for_getdata --- test/functional/p2p_fingerprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/p2p_fingerprint.py') diff --git a/test/functional/p2p_fingerprint.py b/test/functional/p2p_fingerprint.py index fab0887197..c9fbb830c8 100755 --- a/test/functional/p2p_fingerprint.py +++ b/test/functional/p2p_fingerprint.py @@ -90,7 +90,7 @@ class P2PFingerprintTest(BitcoinTestFramework): # Force reorg to a longer chain node0.send_message(msg_headers(new_blocks)) - node0.wait_for_getdata() + node0.wait_for_getdata([x.sha256 for x in new_blocks]) for block in new_blocks: node0.send_and_ping(msg_block(block)) -- cgit v1.2.3