aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-13 15:49:49 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:56 +0800
commitbb6abc1cb45c7fa11903fb43391bb9e07b7b5cad (patch)
tree7ec082c364c053407c85d3d93136715305a23824
parentca74a04b403fc480f33fb47d98f0cfee8e129b89 (diff)
downloaddexon-bb6abc1cb45c7fa11903fb43391bb9e07b7b5cad.tar
dexon-bb6abc1cb45c7fa11903fb43391bb9e07b7b5cad.tar.gz
dexon-bb6abc1cb45c7fa11903fb43391bb9e07b7b5cad.tar.bz2
dexon-bb6abc1cb45c7fa11903fb43391bb9e07b7b5cad.tar.lz
dexon-bb6abc1cb45c7fa11903fb43391bb9e07b7b5cad.tar.xz
dexon-bb6abc1cb45c7fa11903fb43391bb9e07b7b5cad.tar.zst
dexon-bb6abc1cb45c7fa11903fb43391bb9e07b7b5cad.zip
params: Do not use DEXON config for test. (#15)
-rw-r--r--params/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/params/config.go b/params/config.go
index 4ac0d9d81..fc3eecdc0 100644
--- a/params/config.go
+++ b/params/config.go
@@ -122,7 +122,7 @@ var (
// adding flags to the config to also have to set these fields.
AllCliqueProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, nil, &CliqueConfig{Period: 0, Epoch: 30000}, nil}
- TestChainConfig = &ChainConfig{big.NewInt(1), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, new(EthashConfig), nil, TestnetChainConfig.Dexcon}
+ TestChainConfig = &ChainConfig{big.NewInt(1), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, new(EthashConfig), nil, nil}
TestRules = TestChainConfig.Rules(new(big.Int))
)