test: check for matching object hashes in wait_for_getdata
This commit is contained in:
1 parent
a7a6f1ff41
commit
9f5608c289
4 files changed
+9
-16
No files matched your search
@@ -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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user