Skip to content

Commit 2da46b8

Browse files
committed
pass P2PTxInvStore init args to P2PInterface init
1 parent e3bd51e commit 2da46b8

File tree

1 file changed

+2
-2
lines changed
  • test/functional/test_framework

1 file changed

+2
-2
lines changed

test/functional/test_framework/p2p.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,8 @@ def send_txs_and_test(self, txs, node, *, success=True, expect_disconnect=False,
928928

929929
class P2PTxInvStore(P2PInterface):
930930
"""A P2PInterface which stores a count of how many times each txid has been announced."""
931-
def __init__(self):
932-
super().__init__()
931+
def __init__(self, **kwargs):
932+
super().__init__(**kwargs)
933933
self.tx_invs_received = defaultdict(int)
934934

935935
def on_inv(self, message):

0 commit comments

Comments
 (0)