Merge pull request #7555 from diancun/dc/check-commit

checkCommit should return SectorCommitFailed
This commit is contained in:
Łukasz Magiera 2021-11-22 12:28:16 +01:00 committed by GitHub
commit 2620eab45e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)})
}
}