Merge ae9eaa063b into merged_master (Bitcoin PR bitcoin/bitcoin#31760)

This commit is contained in:
ivanlele 2026-04-14 13:41:05 +00:00
commit 36dd0bed39
No known key found for this signature in database

View file

@ -114,6 +114,7 @@ class PeerTxRelayer(P2PTxInvStore):
def assert_never_requested(self, txhash):
"""Check that the node has never sent us a getdata for this hash (int type)"""
self.sync_with_ping()
for getdata in self.getdata_received:
for request in getdata.inv:
assert request.hash != txhash