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:
parent
e3bd51e4b5
commit
2da46b88f0
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue