fix(lotus-sim): initialize commit queue

This commit is contained in:
Steven Allen 2021-06-15 23:58:17 -07:00
parent 28e6fa5923
commit ce29a0ac17

View File

@ -348,6 +348,8 @@ func (stage *ProveCommitStage) filterProveCommits(
}
func (stage *ProveCommitStage) load(ctx context.Context, bb *blockbuilder.BlockBuilder) error {
stage.commitQueue.advanceEpoch(bb.Height())
powerState, err := loadPower(bb.ActorStore(), bb.ParentStateTree())
if err != nil {
return err