mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Fix lint
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any, List, Sequence, Tuple
|
||||
from typing import Any, List, Sequence, Set
|
||||
|
||||
from multiaddr import Multiaddr
|
||||
|
||||
@ -132,7 +132,7 @@ class IPeerStore(IAddrBook, IPeerMetadata):
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def peers_with_keys(self) -> Tuple[ID]:
|
||||
def peers_with_keys(self) -> Set[ID]:
|
||||
"""
|
||||
:return: all of the peer IDs which has pubkey/privkey stored in peer store
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user