mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-04-06 22:11:26 +00:00
Removing notion of context from peerstore
This commit is contained in:
@ -4,9 +4,9 @@ from .peermetadata_interface import IPeerMetadata
|
||||
|
||||
class IPeerStore(ABC, IAddrBook, IPeerMetadata):
|
||||
|
||||
def __init__(self, context):
|
||||
IPeerMetadata.__init__(self, context)
|
||||
IAddrBook.__init__(self, context)
|
||||
def __init__(self):
|
||||
IPeerMetadata.__init__(self)
|
||||
IAddrBook.__init__(self)
|
||||
|
||||
@abstractmethod
|
||||
def peer_info(self, peer_id):
|
||||
|
||||
Reference in New Issue
Block a user