Use Service
instead of ServiceAPI
To fix error with async-service==0.1.0a5
This commit is contained in:
parent
6c7aa30191
commit
f0c4254bbd
|
@ -1,7 +1,7 @@
|
|||
from abc import ABC, abstractmethod
|
||||
from typing import TYPE_CHECKING, Dict, Sequence
|
||||
|
||||
from async_service import ServiceAPI
|
||||
from async_service import Service
|
||||
from multiaddr import Multiaddr
|
||||
|
||||
from libp2p.network.connection.net_connection_interface import INetConn
|
||||
|
@ -73,5 +73,5 @@ class INetwork(ABC):
|
|||
pass
|
||||
|
||||
|
||||
class INetworkService(INetwork, ServiceAPI):
|
||||
class INetworkService(INetwork, Service):
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user