Apply PR feedback

This commit is contained in:
NIC619
2019-07-30 23:41:28 +08:00
parent 76de01a17d
commit 5e215901c0
8 changed files with 17 additions and 20 deletions

View File

@ -67,7 +67,7 @@ class INetwork(ABC):
"""
@abstractmethod
async def listen(self, *args: Multiaddr) -> bool:
async def listen(self, *args: Sequence[Multiaddr]) -> bool:
"""
:param *args: one or many multiaddrs to start listening on
:return: True if at least one success