This commit is contained in:
aarshkshah1992 2021-06-08 09:37:12 +05:30
parent 16166504f4
commit e4e60d7af4

View File

@ -119,6 +119,10 @@ func (mgr *SectorMgr) AcquireSectorNumber() (abi.SectorNumber, error) {
return id, nil return id, nil
} }
func (mgr *SectorMgr) IsUnsealed(ctx context.Context, sector storage.SectorRef, offset storiface.UnpaddedByteIndex, size abi.UnpaddedPieceSize) (bool, error) {
return false, nil
}
func (mgr *SectorMgr) ForceState(sid storage.SectorRef, st int) error { func (mgr *SectorMgr) ForceState(sid storage.SectorRef, st int) error {
mgr.lk.Lock() mgr.lk.Lock()
ss, ok := mgr.sectors[sid.ID] ss, ok := mgr.sectors[sid.ID]