diff --git a/consensus/state.go b/consensus/state.go index 222e2eb10..5d1e106da 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -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