diff options
author | bojie <bojie@dexon.org> | 2018-11-27 17:22:56 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | 52c06263f8532735e44d7fcc78f381428b0ba019 (patch) | |
tree | 9a92e921f8aacfe61c5d9c145c652f7518f380e9 /cmd/gdex/dao_test.go | |
parent | bc28384d725f57c5d71ea3d81dde0f7251ab868e (diff) | |
download | dexon-52c06263f8532735e44d7fcc78f381428b0ba019.tar dexon-52c06263f8532735e44d7fcc78f381428b0ba019.tar.gz dexon-52c06263f8532735e44d7fcc78f381428b0ba019.tar.bz2 dexon-52c06263f8532735e44d7fcc78f381428b0ba019.tar.lz dexon-52c06263f8532735e44d7fcc78f381428b0ba019.tar.xz dexon-52c06263f8532735e44d7fcc78f381428b0ba019.tar.zst dexon-52c06263f8532735e44d7fcc78f381428b0ba019.zip |
cmd: fix tests (#55)
Diffstat (limited to 'cmd/gdex/dao_test.go')
-rw-r--r-- | cmd/gdex/dao_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gdex/dao_test.go b/cmd/gdex/dao_test.go index 19340fa1b..c4d3d0cc2 100644 --- a/cmd/gdex/dao_test.go +++ b/cmd/gdex/dao_test.go @@ -77,7 +77,7 @@ var daoProForkGenesis = `{ } }` -var daoGenesisHash = common.HexToHash("5e1fc79cb4ffa4739177b5408045cd5d51c6cf766133f23f7cd72ee1f8d790e0") +var daoGenesisHash = common.HexToHash("0x81e17c54ca08eb60d9455df5600813b637fc460b86ccbd6ac322fb2d2bd2a935") var daoGenesisForkBlock = big.NewInt(314) // TestDAOForkBlockNewChain tests that the DAO hard-fork number and the nodes support/opposition is correctly @@ -127,7 +127,7 @@ func testDAOForkBlockNewChain(t *testing.T, test int, genesis string, expectBloc } defer db.Close() - genesisHash := common.HexToHash("0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3") + genesisHash := common.HexToHash("0x52b1459248252fcec3e9429362bdbc576c09515cfac0a87b278b2bf98d640c42") if genesis != "" { genesisHash = daoGenesisHash } |