Skip to content

Commit cb5bfed

Browse files
committed
Use the same comment in maybe_consume_peer_record function
1 parent b26e833 commit cb5bfed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libp2p/pubsub/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ def maybe_consume_signed_record(msg: RPC, host: IHost, peer_id: ID) -> bool:
4242

4343
# Use the default TTL of 2 hours (7200 seconds)
4444
if not host.get_peerstore().consume_peer_record(envelope, 7200):
45-
logger.error("Updating the certified-addr-book was unsuccessful")
45+
logger.error("Failed to update the Certified-Addr-Book")
4646
return False
4747
except Exception as e:
48-
logger.error("Error updating the certified addr book for peer: %s", e)
48+
logger.error("Failed to update the Certified-Addr-Book: %s", e)
4949
return False
5050
return True

0 commit comments

Comments
 (0)