mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-09 19:41:21 +00:00
fix race
This commit is contained in:
parent
530626dab7
commit
10f8101314
@ -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…
x
Reference in New Issue
Block a user