Merge pull request #47 from TroyWind/fix-precommit-failed-state

fix precommit1 failed state
This commit is contained in:
Łukasz Magiera 2020-07-20 19:24:58 +02:00 committed by GitHub
commit a06ded53e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: