0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-03 09:56:38 -05:00

[tests] Don't call super twice in P2PTxInvStore.on_inv()

This commit is contained in:
John Newbery 2020-06-05 10:59:40 -04:00
parent 9d80762fa0
commit c67c1f2c03

View file

@ -658,8 +658,6 @@ class P2PTxInvStore(P2PInterface):
# save txid
self.tx_invs_received[i.hash] += 1
super().on_inv(message)
def get_invs(self):
with mininode_lock:
return list(self.tx_invs_received.keys())