diff --git a/common/messages/electionMsgs/fedVoteLevelMsg.go b/common/messages/electionMsgs/fedVoteLevelMsg.go index d5a28fff39..f92aab9327 100644 --- a/common/messages/electionMsgs/fedVoteLevelMsg.go +++ b/common/messages/electionMsgs/fedVoteLevelMsg.go @@ -257,6 +257,9 @@ func (m *FedVoteLevelMsg) FollowerExecute(is interfaces.IState) { // Add to the process list (which will get immediately processed) is.LogMessage("executeMsg", "add to pl", m.Volunteer.Ack) + + // make sure the message has leaderchainid set + m.Volunteer.Missing.SetLeaderChainID(m.Volunteer.Ack.GetLeaderChainID()) pl.AddToProcessList(pl.State, m.Volunteer.Ack.(*messages.Ack), m.Volunteer.Missing) } else { is.ElectionsQueue().Enqueue(m) diff --git a/state/stateConsensus.go b/state/stateConsensus.go index 00756ff51b..3214701ef5 100644 --- a/state/stateConsensus.go +++ b/state/stateConsensus.go @@ -2543,7 +2543,7 @@ func (s *State) ProcessDBSig(dbheight uint32, msg interfaces.IMsg) bool { uint32(0), msg.GetVMIndex(), uint32(vm.Height), - dbs.LeaderChainID, + dbs.GetLeaderChainID(), ) s.electionsQueue.Enqueue(InMsg) }