Browse Source

fix race

pull/591/head
Ethan Buchman 8 years ago
parent
commit
10f8101314
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consensus/state.go

+ 1
- 1
consensus/state.go View File

@ -814,7 +814,7 @@ func (cs *ConsensusState) proposalHeartbeat() {
select {
default:
if cs.evsw != nil {
rs := cs.RoundStateEvent()
rs := cs.GetRoundState().RoundStateEvent()
heartbeat := types.EventDataProposerHeartbeat{rs, addr, counter}
types.FireEventProposerHeartbeat(cs.evsw, heartbeat)
counter += 1


Loading…
Cancel
Save