diff --git a/.circleci/config.yml b/.circleci/config.yml index 91f1a5b67..eee894d35 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: - run: sudo apt-get install npm - restore_cache: name: restore go mod cache - key: v1-go-deps-{{ arch }}-{{ checksum "~/go/src/github.com/filecoin-project/lotus/go.mod" }} + key: v1-go-deps-{{ arch }}-{{ checksum "/home/circleci/project/lotus/go.mod" }} - run: command: make buildall - store_artifacts: diff --git a/lotuspond/spawn.go b/lotuspond/spawn.go index bcf2dd001..f3534ece1 100644 --- a/lotuspond/spawn.go +++ b/lotuspond/spawn.go @@ -36,7 +36,7 @@ func (api *api) Spawn() (nodeInfo, error) { } sbroot := filepath.Join(dir, "preseal") - genm, err := seed.PreSeal(genMiner, build.SectorSizes[0], 1, sbroot, []byte("8")) + genm, err := seed.PreSeal(genMiner, build.SectorSizes[0], 0, 1, sbroot, []byte("8")) if err != nil { return nodeInfo{}, xerrors.Errorf("preseal failed: %w", err) }