fix precommit1 failed state

This commit is contained in:
刘林欣 2020-07-15 09:41:35 +08:00
parent 379a4655b0
commit d4c8be92b0

2
fsm.go
View File

@ -281,7 +281,7 @@ func planCommitting(events []statemachine.Event, state *SectorInfo) error {
case SectorComputeProofFailed:
state.State = ComputeProofFailed
case SectorSealPreCommit1Failed:
state.State = CommitFailed
state.State = SealPreCommit1Failed
case SectorCommitFailed:
state.State = CommitFailed
default: