mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
basic-host and remove context
This commit is contained in:
@ -2,8 +2,7 @@ from abc import ABC, abstractmethod
|
||||
|
||||
class IStream(ABC):
|
||||
|
||||
def __init__(self, context, peer_id):
|
||||
self.context = context
|
||||
def __init__(self, peer_id):
|
||||
self.peer_id = peer_id
|
||||
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user