This commit is contained in:
Łukasz Magiera 2020-08-05 22:11:53 +02:00
parent deec7a2658
commit 77e4adb556

View File

@ -12,17 +12,17 @@ import (
) )
type existingSelector struct { type existingSelector struct {
index stores.SectorIndex index stores.SectorIndex
sector abi.SectorID sector abi.SectorID
alloc stores.SectorFileType alloc stores.SectorFileType
allowFetch bool allowFetch bool
} }
func newExistingSelector(index stores.SectorIndex, sector abi.SectorID, alloc stores.SectorFileType, allowFetch bool) *existingSelector { func newExistingSelector(index stores.SectorIndex, sector abi.SectorID, alloc stores.SectorFileType, allowFetch bool) *existingSelector {
return &existingSelector{ return &existingSelector{
index: index, index: index,
sector: sector, sector: sector,
alloc: alloc, alloc: alloc,
allowFetch: allowFetch, allowFetch: allowFetch,
} }
} }