Browse Source

Fix merge damage.

pull/8127/head
M. J. Fromberger 3 years ago
parent
commit
c8e61f74a4
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      internal/consensus/reactor.go

+ 0
- 2
internal/consensus/reactor.go View File

@ -351,8 +351,6 @@ func (r *Reactor) broadcastHasVoteMessage(ctx context.Context, vote *types.Vote)
// internal pubsub defined in the consensus state to broadcast them to peers // internal pubsub defined in the consensus state to broadcast them to peers
// upon receiving. // upon receiving.
func (r *Reactor) subscribeToBroadcastEvents() { func (r *Reactor) subscribeToBroadcastEvents() {
onStopCh := r.state.getOnStopCh()
err := r.state.evsw.AddListenerForEvent( err := r.state.evsw.AddListenerForEvent(
listenerIDConsensus, listenerIDConsensus,
types.EventNewRoundStepValue, types.EventNewRoundStepValue,


Loading…
Cancel
Save