From a1ef61b63e3035c5690117b52b5eb585e4221e4a Mon Sep 17 00:00:00 2001 From: tycho garen Date: Fri, 10 Jun 2022 15:39:59 -0400 Subject: [PATCH] comment (cherry picked from commit 9f604fd2ef184963d26e8e89189eb41879bd3391) --- internal/p2p/peermanager.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/p2p/peermanager.go b/internal/p2p/peermanager.go index 4972258bf..c384073c1 100644 --- a/internal/p2p/peermanager.go +++ b/internal/p2p/peermanager.go @@ -1362,7 +1362,8 @@ func (p *peerInfo) Copy() peerInfo { } // LastDialed returns when the peer was last dialed, and if that dial -// attempt was successful. +// attempt was successful. If the peer was never dialed the time stamp +// is zero time. func (p *peerInfo) LastDialed() (time.Time, bool) { var ( last time.Time