mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
pass P2PTxInvStore init args to P2PInterface init
This commit is contained in:
parent
e3bd51e4b5
commit
2da46b88f0
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user