Update internal/p2p/peermanager.go

Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
This commit is contained in:
Sam Kleinman
2022-06-10 15:17:56 -04:00
committed by GitHub
co-authored by M. J. Fromberger
parent f23f6e1089
commit 1c02758eaf
+1 -1
View File
@@ -1364,7 +1364,7 @@ func (p *peerInfo) LastDialed() (time.Time, bool) {
// if we never modified last, then we should return it to the
// zero value
if last.Add(1).IsZero() {
last = last.Add(1)
return time.Time{}, success
}
return last, success