mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-29 10:30:20 +00:00
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:
committed by
tycho garen
parent
fc9ba51b28
commit
dc148b81d8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user