diff --git a/state/execution.go b/state/execution.go index 302dd2cb832..0be899c83bb 100644 --- a/state/execution.go +++ b/state/execution.go @@ -169,6 +169,7 @@ func (blockExec *BlockExecutor) CreateProposalBlock( // check if oracle's gossipVoteMap has any results preLockTime := time.Now().UnixMilli() + blockExec.oracleInfo.GossipVoteBuffer.RLock() oracleVotesBuffer := blockExec.oracleInfo.GossipVoteBuffer.Buffer votes := []*oracleproto.GossipedVotes{}