mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
Removing notion of context from peerstore
This commit is contained in:
@ -3,8 +3,8 @@ from .peerdata import PeerData
|
||||
|
||||
class PeerStore(IPeerStore):
|
||||
|
||||
def __init__(self, context):
|
||||
IPeerStore.__init__(self, context)
|
||||
def __init__(self):
|
||||
IPeerStore.__init__(self)
|
||||
self.peer_map = {}
|
||||
|
||||
def __create_or_get_peer(self, peer_id):
|
||||
|
||||
Reference in New Issue
Block a user