Removing notion of context from peerstore

This commit is contained in:
Robert Zajac
2018-10-26 15:51:25 -04:00
parent 92e2bb4600
commit c3afb3d48a
4 changed files with 9 additions and 9 deletions

View File

@ -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):