From 8b9dd91103070e85e26beb9a0b2a0ff15e03ed01 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Sat, 7 Dec 2019 16:40:55 +0100 Subject: [PATCH] Don't fetch params for pre-seal License: MIT Signed-off-by: Jakub Sztandera --- cmd/lotus-seed/seed/seed.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/lotus-seed/seed/seed.go b/cmd/lotus-seed/seed/seed.go index 9920d13ae..c54a953f5 100644 --- a/cmd/lotus-seed/seed/seed.go +++ b/cmd/lotus-seed/seed/seed.go @@ -15,7 +15,6 @@ import ( "golang.org/x/xerrors" "github.com/filecoin-project/lotus/api" - "github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/chain/actors" "github.com/filecoin-project/lotus/chain/address" "github.com/filecoin-project/lotus/chain/types" @@ -49,10 +48,6 @@ func PreSeal(maddr address.Address, ssize uint64, offset uint64, sectors int, sb return nil, err } - if err := build.GetParams(ssize); err != nil { - return nil, xerrors.Errorf("getting params: %w", err) - } - sb, err := sectorbuilder.New(cfg, mds) if err != nil { return nil, err