From 31234007596db6781bce7cdf7c6c6b8d1e511407 Mon Sep 17 00:00:00 2001 From: yaohcn Date: Fri, 22 Oct 2021 10:09:44 +0800 Subject: [PATCH] checkCommit should return SectorCommitFailed --- extern/storage-sealing/states_sealing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/storage-sealing/states_sealing.go b/extern/storage-sealing/states_sealing.go index 9dcb779a7..c6cd0bb49 100644 --- a/extern/storage-sealing/states_sealing.go +++ b/extern/storage-sealing/states_sealing.go @@ -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)}) } }