mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge ae9eaa063b into merged_master (Bitcoin PR bitcoin/bitcoin#31760)
This commit is contained in:
commit
36dd0bed39
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue