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:
Łukasz Magiera 2020-08-05 00:16:12 +02:00 committed by GitHub
commit b8526edd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
fsm.go
View File

@ -254,6 +254,8 @@ func (m *Sealing) plan(events []statemachine.Event, state *SectorInfo) (func(sta
return m.handleProvingSector, nil
case Removing:
return m.handleRemoving, nil
case Removed:
return nil, nil
// Faults
case Faulty: