fix(peer) update latency
Brian Tiger Chow committed
Nov 4, 2014 at 21:08 UTC
074722cf8aa343cf9ea6eac79d1eae6f70655461
1 file changed
+2
peer/peer.go
+2
@@ -287,6 +287,8 @@ func (p *peer) Update(other Peer) error {
287
p.AddAddress(a)
288
}
289
290
+ p.SetLatency(other.GetLatency())
291
+
292
sk := other.PrivKey()
293
pk := other.PubKey()
294
p.Lock()