storage: set sector state correctly
This commit is contained in:
parent
0efc625405
commit
f29e1eacff
@ -40,7 +40,7 @@ func (u *sectorUpdate) state(m func(*SectorInfo)) *sectorUpdate {
|
||||
}
|
||||
|
||||
func (u *sectorUpdate) to(newState api.SectorState) *sectorUpdate {
|
||||
u.nonce = newState
|
||||
u.newState = newState
|
||||
return u
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user