storagefsm: Add SubmitCommit to toStatState switch
This commit is contained in:
parent
eeb38fa649
commit
74f040f9d5
2
extern/storage-sealing/sector_state.go
vendored
2
extern/storage-sealing/sector_state.go
vendored
@ -76,7 +76,7 @@ const (
|
|||||||
|
|
||||||
func toStatState(st SectorState) statSectorState {
|
func toStatState(st SectorState) statSectorState {
|
||||||
switch st {
|
switch st {
|
||||||
case Empty, WaitDeals, Packing, GetTicket, PreCommit1, PreCommit2, PreCommitting, PreCommitWait, WaitSeed, Committing, CommitWait, FinalizeSector:
|
case Empty, WaitDeals, Packing, GetTicket, PreCommit1, PreCommit2, PreCommitting, PreCommitWait, WaitSeed, Committing, SubmitCommit, CommitWait, FinalizeSector:
|
||||||
return sstSealing
|
return sstSealing
|
||||||
case Proving, Removed, Removing:
|
case Proving, Removed, Removing:
|
||||||
return sstProving
|
return sstProving
|
||||||
|
Loading…
Reference in New Issue
Block a user