mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-17 04:36:11 +00:00
Update internal/p2p/peermanager.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
This commit is contained in:
co-authored by
M. J. Fromberger
parent
f23f6e1089
commit
1c02758eaf
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user