This commit is contained in:
tycho garen
2022-06-10 15:39:59 -04:00
parent 1c02758eaf
commit 9f604fd2ef

View File

@@ -1334,7 +1334,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