From 00d44a534b4e5ae249b8011360c6b0f7dc731581 Mon Sep 17 00:00:00 2001 From: Amiti Uttarwar Date: Tue, 28 Apr 2020 10:18:36 -0700 Subject: [test] P2P connection behavior should meet expectations - P2PTxInvStore should supplement `on_inv` behavior of parent, not overwrite. --- test/functional/test_framework/mininode.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/functional') diff --git a/test/functional/test_framework/mininode.py b/test/functional/test_framework/mininode.py index 95a63717d6..83149ead54 100755 --- a/test/functional/test_framework/mininode.py +++ b/test/functional/test_framework/mininode.py @@ -652,6 +652,8 @@ 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()) -- cgit v1.2.3