Commit d29a9ec3 authored by Alessandro Sorniotti's avatar Alessandro Sorniotti Committed by Gerrit Code Review
Browse files

Merge "[FAB-13108] conn never return nil"

parents 7851d469 c0c35e89
......@@ -579,12 +579,6 @@ func (c *commImpl) GossipStream(stream proto.Gossip_GossipStreamServer) error {
conn := c.connStore.onConnected(stream, connInfo)
// if connStore denied the connection, it means we already have a connection to that peer
// so close this stream
if conn == nil {
return nil
}
h := func(m *proto.SignedGossipMessage) {
c.msgPublisher.DeMultiplex(&ReceivedMessageImpl{
conn: conn,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment