test: check for matching object hashes in wait_for_getdata

This commit is contained in:
Danny Lee committed 2020-04-22 10:46:08 -07:00
1 parent a7a6f1ff41
commit 9f5608c289
4 files changed
+9 -16

No files matched your search

+1 -1
View File
@@ -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))