Skip to content

Commit

Permalink
Merge pull request #7555 from diancun/dc/check-commit
Browse files Browse the repository at this point in the history
checkCommit should return SectorCommitFailed
  • Loading branch information
magik6k authored Nov 22, 2021
2 parents 5b7bf6c + 3123400 commit 2620eab
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 2620eab

Please sign in to comment.