0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-21 12:22:50 -05:00

pass P2PTxInvStore init args to P2PInterface init

This commit is contained in:
glozow 2025-01-16 14:09:39 -05:00
parent e3bd51e4b5
commit 2da46b88f0

View file

@ -928,8 +928,8 @@ class P2PDataStore(P2PInterface):
class P2PTxInvStore(P2PInterface):
"""A P2PInterface which stores a count of how many times each txid has been announced."""
def __init__(self):
super().__init__()
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.tx_invs_received = defaultdict(int)
def on_inv(self, message):