Set default address type to mainnet

This commit is contained in:
Aayush Rajasekaran 2020-10-06 01:59:15 -04:00
parent 0e2f697217
commit 3672f2cc44

View File

@ -5,6 +5,7 @@
package build package build
import ( import (
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-state-types/abi" "github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lotus/chain/actors/policy" "github.com/filecoin-project/lotus/chain/actors/policy"
@ -34,6 +35,9 @@ func init() {
abi.RegisteredSealProof_StackedDrg32GiBV1, abi.RegisteredSealProof_StackedDrg32GiBV1,
abi.RegisteredSealProof_StackedDrg64GiBV1, abi.RegisteredSealProof_StackedDrg64GiBV1,
) )
SetAddressNetwork(address.Mainnet)
Devnet = false Devnet = false
} }