Skip to content

Commit

Permalink
remove workaround for #1793
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rade committed Dec 21, 2015
1 parent a1010ce commit 5d1705b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesh/local_peer.go
Expand Up @@ -157,7 +157,7 @@ func (peer *LocalPeer) handleAddConnection(conn Connection) error {
}

peer.router.Routes.Recalculate()
peer.broadcastPeerUpdate(conn.Remote())
peer.broadcastPeerUpdate()

return nil
}
Expand Down

0 comments on commit 5d1705b

Please sign in to comment.