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