Skip to content

Commit 00d44a5

Browse files
committed
[test] P2P connection behavior should meet expectations
- P2PTxInvStore should supplement `on_inv` behavior of parent, not overwrite.
1 parent bd093ca commit 00d44a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/test_framework/mininode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,8 @@ def on_inv(self, message):
652652
# save txid
653653
self.tx_invs_received[i.hash] += 1
654654

655+
super().on_inv(message)
656+
655657
def get_invs(self):
656658
with mininode_lock:
657659
return list(self.tx_invs_received.keys())

0 commit comments

Comments
 (0)