mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
fix tox bugs
This commit is contained in:
@ -501,7 +501,7 @@ class ICertifiedAddrBook(ABC):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def consume_peer_record(self, envelope: Envelope, ttl: int) -> bool:
|
def consume_peer_record(self, envelope: "Envelope", ttl: int) -> bool:
|
||||||
"""
|
"""
|
||||||
Accept and store a signed PeerRecord, unless it's older than
|
Accept and store a signed PeerRecord, unless it's older than
|
||||||
the one already stored.
|
the one already stored.
|
||||||
@ -962,7 +962,7 @@ class IPeerStore(
|
|||||||
# --------CERTIFIED-ADDR-BOOK----------
|
# --------CERTIFIED-ADDR-BOOK----------
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def consume_peer_record(self, envelope: Envelope, ttl: int) -> bool:
|
def consume_peer_record(self, envelope: "Envelope", ttl: int) -> bool:
|
||||||
"""
|
"""
|
||||||
Accept and store a signed PeerRecord, unless it's older
|
Accept and store a signed PeerRecord, unless it's older
|
||||||
than the one already stored.
|
than the one already stored.
|
||||||
|
|||||||
Reference in New Issue
Block a user