fix tox bugs

This commit is contained in:
lla-dane
2025-07-11 19:10:01 +05:30
parent aab2a0b603
commit 1899dac84c

View File

@ -501,7 +501,7 @@ class ICertifiedAddrBook(ABC):
"""
@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
the one already stored.
@ -962,7 +962,7 @@ class IPeerStore(
# --------CERTIFIED-ADDR-BOOK----------
@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 the one already stored.