From 074722cf8aa343cf9ea6eac79d1eae6f70655461 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Tue, 4 Nov 2014 21:08:25 -0800 Subject: [PATCH] fix(peer) update latency --- peer/peer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/peer/peer.go b/peer/peer.go index 7cc8a4ccb..6a5c8a2f6 100644 --- a/peer/peer.go +++ b/peer/peer.go @@ -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()