Skip to content

Commit

Permalink
Merge pull request #4911 from filecoin-project/asr/seed-old
Browse files Browse the repository at this point in the history
Use version0 when pre-sealing
  • Loading branch information
magik6k authored Nov 20, 2020
2 parents 8508cdc + 62d20f2 commit 4b507f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/lotus-seed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
"io/ioutil"
"os"

"github.com/filecoin-project/go-state-types/network"

"github.com/docker/go-units"
logging "github.com/ipfs/go-log/v2"
"github.com/mitchellh/go-homedir"
Expand Down Expand Up @@ -127,7 +129,7 @@ var preSealCmd = &cli.Command{
}
sectorSize := abi.SectorSize(sectorSizeInt)

spt, err := miner.SealProofTypeFromSectorSize(sectorSize, build.NewestNetworkVersion)
spt, err := miner.SealProofTypeFromSectorSize(sectorSize, network.Version0)
if err != nil {
return err
}
Expand Down

0 comments on commit 4b507f5

Please sign in to comment.