fix(lotus-sim): load prove-commits
(regression from refactor)
This commit is contained in:
parent
af33d69357
commit
e41f0842b0
@ -57,6 +57,9 @@ func (stage *ProveCommitStage) EnqueueProveCommit(
|
|||||||
// block or runs out.
|
// block or runs out.
|
||||||
func (stage *ProveCommitStage) PackMessages(ctx context.Context, bb *blockbuilder.BlockBuilder) (_err error) {
|
func (stage *ProveCommitStage) PackMessages(ctx context.Context, bb *blockbuilder.BlockBuilder) (_err error) {
|
||||||
if !stage.initialized {
|
if !stage.initialized {
|
||||||
|
if err := stage.load(ctx, bb); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Roll the commitQueue forward.
|
// Roll the commitQueue forward.
|
||||||
stage.commitQueue.advanceEpoch(bb.Height())
|
stage.commitQueue.advanceEpoch(bb.Height())
|
||||||
|
Loading…
Reference in New Issue
Block a user