aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_fingerprint.py
diff options
context:
space:
mode:
authorDanny Lee <robot-visions@protonmail.com>2020-04-17 02:23:02 -0700
committerDanny Lee <robot-visions@protonmail.com>2020-04-22 10:46:08 -0700
commit9f5608c2893f89cd56c7c548b748996199e0da1d (patch)
treebc2b9b73d6dc16533591f5252f409fe123811766 /test/functional/p2p_fingerprint.py
parenta7a6f1ff417abc2452a2a2b9edcd2f12d6c14441 (diff)
downloadbitcoin-9f5608c2893f89cd56c7c548b748996199e0da1d.tar.xz
test: check for matching object hashes in wait_for_getdata
Diffstat (limited to 'test/functional/p2p_fingerprint.py')
-rwxr-xr-xtest/functional/p2p_fingerprint.py2
1 files changed, 1 insertions, 1 deletions
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))