Skip to content

Commit

Permalink
Removes unsed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nkcr committed Mar 27, 2020
1 parent 990d50a commit 7f9adf9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mino/minogrpc/overlay.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ func (o overlayService) Stream(stream Overlay_StreamServer) error {
rcvr.in <- msg
}
}()
// we must wait on this signal before exiting in order to keep the
// stream open
<-o.handlerRcvr[apiURI[0]].stop
return nil
}
Expand All @@ -128,9 +130,6 @@ func (o overlayService) Stream(stream Overlay_StreamServer) error {
"of handlers, did you register it?", apiURI[0])
}

// This participant is used to send back messages that must be
// relayed.
// o.participants["server_"+o.addr.String()] = stream
rpcID := "server_" + o.addr.String()

// For the moment this sender can only receive messages to itself
Expand Down

0 comments on commit 7f9adf9

Please sign in to comment.