Add missing send to ready channel in consensus state when mining new block
This commit is contained in:
parent
ea9ceaeda9
commit
29c38e80b7
@ -247,6 +247,7 @@ func (pcm *PBFTConsensusManager) NewDrandRound(from phony.Actor, res client.Resu
|
||||
logrus.Errorf("Failed to select the block in consensus round %d: %s", pcm.state.blockHeight, err.Error())
|
||||
return
|
||||
}
|
||||
pcm.state.ready <- true
|
||||
|
||||
minedBlock, err := pcm.miner.MineBlock(res.Randomness(), block.Header)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user