Update sector-storage
This commit is contained in:
1 parent
6447198e0e
commit
dcd42eec11
3 files changed
+5
-2
No files matched your search
@@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func DefaultSectorSize() abi.SectorSize {
|
||||
szs := make([]abi.SectorSize, len(miner.SupportedProofTypes))
|
||||
szs := make([]abi.SectorSize, 0, len(miner.SupportedProofTypes))
|
||||
for spt := range miner.SupportedProofTypes {
|
||||
ss, err := spt.SectorSize()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user