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:
@ -2,8 +2,8 @@ from abc import ABC, abstractmethod
|
||||
|
||||
class IAddrBook(ABC):
|
||||
|
||||
def __init__(self, context):
|
||||
self.context = context
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def add_addr(self, peer_id, addr, ttl):
|
||||
|
||||
Reference in New Issue
Block a user