Use Service instead of ServiceAPI

To fix error with async-service==0.1.0a5
This commit is contained in:
mhchia 2020-01-18 00:31:39 +08:00
parent 6c7aa30191
commit f0c4254bbd
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

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