From 1899dac84ced14d62012d4412c701c0a6e45ef9d Mon Sep 17 00:00:00 2001 From: lla-dane Date: Fri, 11 Jul 2025 19:10:01 +0530 Subject: [PATCH] fix tox bugs --- libp2p/abc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/abc.py b/libp2p/abc.py index 25c7b3cf..5a49aef7 100644 --- a/libp2p/abc.py +++ b/libp2p/abc.py @@ -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.