mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
updated to not require peerstore
This commit is contained in:
@ -2,8 +2,9 @@ from abc import ABC, abstractmethod
|
||||
|
||||
class IStream(ABC):
|
||||
|
||||
def __init__(self, peer_id):
|
||||
def __init__(self, peer_id, maddr):
|
||||
self.peer_id = peer_id
|
||||
self.maddr = maddr
|
||||
|
||||
@abstractmethod
|
||||
def protocol(self):
|
||||
|
||||
Reference in New Issue
Block a user