[tests] Don't call super twice in P2PTxInvStore.on_inv()
This commit is contained in:
1 parent
9d80762fa0
commit
c67c1f2c03
1 file changed
-2
@@ -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())
|
||||||
|
|||||||
Reference in new issue
Block a user