From 337f42f7024d49a09f9fe0fdc6ffa74aaab40967 Mon Sep 17 00:00:00 2001 From: hinto-janai Date: Tue, 8 Oct 2024 16:50:46 -0400 Subject: [PATCH] Update p2p/p2p-core/src/ban.rs Co-authored-by: Boog900 --- p2p/p2p-core/src/ban.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/p2p-core/src/ban.rs b/p2p/p2p-core/src/ban.rs index c3b17a4..76fd3eb 100644 --- a/p2p/p2p-core/src/ban.rs +++ b/p2p/p2p-core/src/ban.rs @@ -17,7 +17,7 @@ pub struct SetBan { pub struct BanState { /// Address of the peer. pub address: A, - /// - If [`Some`], when this peer will be unbanned + /// - If [`Some`], the peer is banned until this [`Instant`] /// - If [`None`], the peer is not currently banned pub unban_instant: Option, }