Merge pull request #46 from chunqizhi/wenchu
Add case: Removed in fsm.go to avoid "unexpected sector update state: Removed"
This commit is contained in:
commit
b8526edd5e
2
fsm.go
2
fsm.go
@ -254,6 +254,8 @@ func (m *Sealing) plan(events []statemachine.Event, state *SectorInfo) (func(sta
|
|||||||
return m.handleProvingSector, nil
|
return m.handleProvingSector, nil
|
||||||
case Removing:
|
case Removing:
|
||||||
return m.handleRemoving, nil
|
return m.handleRemoving, nil
|
||||||
|
case Removed:
|
||||||
|
return nil, nil
|
||||||
|
|
||||||
// Faults
|
// Faults
|
||||||
case Faulty:
|
case Faulty:
|
||||||
|
Loading…
Reference in New Issue
Block a user