Skip to content

Commit

Permalink
checkCommit should return SectorCommitFailed
Browse files Browse the repository at this point in the history
  • Loading branch information
yaohcn committed Oct 22, 2021
1 parent e1deed3 commit 3123400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extern/storage-sealing/states_sealing.go
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ func (m *Sealing) handleCommitting(ctx statemachine.Context, sector SectorInfo)
}

if err := m.checkCommit(ctx.Context(), sector, proof, tok); err != nil {
return ctx.Send(SectorComputeProofFailed{xerrors.Errorf("commit check error: %w", err)})
return ctx.Send(SectorCommitFailed{xerrors.Errorf("commit check error: %w", err)})
}
}

Expand Down

0 comments on commit 3123400

Please sign in to comment.