Update internal/p2p/peermanager.go

Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
(cherry picked from commit 1c02758eaf)
This commit is contained in:
Sam Kleinman
2022-06-10 15:17:56 -04:00
committed by tycho garen
parent fc9ba51b28
commit dc148b81d8

View File

@@ -1391,7 +1391,7 @@ func (p *peerInfo) LastDialed() (time.Time, bool) {
// if we never modified last, then
if last.Add(1).IsZero() {
last = last.Add(1)
return time.Time{}, success
}
return last, success