mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:24:14 +08:00
fix(peer) update latency
This commit is contained in:
@ -287,6 +287,8 @@ func (p *peer) Update(other Peer) error {
|
||||
p.AddAddress(a)
|
||||
}
|
||||
|
||||
p.SetLatency(other.GetLatency())
|
||||
|
||||
sk := other.PrivKey()
|
||||
pk := other.PubKey()
|
||||
p.Lock()
|
||||
|
Reference in New Issue
Block a user