[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 # save txid
self.tx_invs_received[i.hash] += 1 self.tx_invs_received[i.hash] += 1
super().on_inv(message)
def get_invs(self): def get_invs(self):
with mininode_lock: with mininode_lock:
return list(self.tx_invs_received.keys()) return list(self.tx_invs_received.keys())