From 5d1705b953210507fcbd9e33611981ffa1d2046a Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 21 Dec 2015 15:47:59 +0000 Subject: [PATCH] remove workaround for #1793 The code now does provide all the necessary guarantees. In particular, the GossipSender.sendAll mark ensures that any complete gossip sent is always at least as up to date as it was when any previous message was sent (or dropped). Fixes #1793. --- mesh/local_peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh/local_peer.go b/mesh/local_peer.go index 72262e59c3..4675fd75cb 100644 --- a/mesh/local_peer.go +++ b/mesh/local_peer.go @@ -157,7 +157,7 @@ func (peer *LocalPeer) handleAddConnection(conn Connection) error { } peer.router.Routes.Recalculate() - peer.broadcastPeerUpdate(conn.Remote()) + peer.broadcastPeerUpdate() return nil }