This commit is contained in:
Łukasz Magiera 2020-04-10 23:01:42 +02:00
parent cd464ef916
commit c0d619cd86
3 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,6 @@ func sizeFromConfig(cfg Config) (abi.SectorSize, error) {
return abi.SectorSize(0), xerrors.New("must specify a seal proof type from abi.RegisteredProof") return abi.SectorSize(0), xerrors.New("must specify a seal proof type from abi.RegisteredProof")
} }
return cfg.SealProofType.SectorSize() return cfg.SealProofType.SectorSize()
} }

View File

@ -146,7 +146,7 @@ func post(t *testing.T, sealer *Sealer, seals ...seal) time.Time {
if !ok { if !ok {
t.Fatal("bad post") t.Fatal("bad post")
} }
*/ */
return genCandidates return genCandidates
} }