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 21:32:53 +0800
commit9aacbec85f6fc9b76320e2ac65206e7538415a91 (patch)
tree3285de98cb267bff3c822aa7f7c57a05d9426e32
parentef24d59fe79fd57a88ff886afdc3a01be1d49e55 (diff)
downloaddexon-9aacbec85f6fc9b76320e2ac65206e7538415a91.tar
dexon-9aacbec85f6fc9b76320e2ac65206e7538415a91.tar.gz
dexon-9aacbec85f6fc9b76320e2ac65206e7538415a91.tar.bz2
dexon-9aacbec85f6fc9b76320e2ac65206e7538415a91.tar.lz
dexon-9aacbec85f6fc9b76320e2ac65206e7538415a91.tar.xz
dexon-9aacbec85f6fc9b76320e2ac65206e7538415a91.tar.zst
dexon-9aacbec85f6fc9b76320e2ac65206e7538415a91.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))
)