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 {
index stores.SectorIndex
sector abi.SectorID
alloc stores.SectorFileType
index stores.SectorIndex
sector abi.SectorID
alloc stores.SectorFileType
allowFetch bool
}
func newExistingSelector(index stores.SectorIndex, sector abi.SectorID, alloc stores.SectorFileType, allowFetch bool) *existingSelector {
return &existingSelector{
index: index,
sector: sector,
alloc: alloc,
index: index,
sector: sector,
alloc: alloc,
allowFetch: allowFetch,
}
}