aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-11-21 05:32:31 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-11-23 16:34:01 +0800
commita8ca75738a45a137ff7b2dfa276398fad26439da (patch)
tree69c28c8a7b79c7a4412cea8964fbbafe16b4b3cc /cmd/geth
parentaad4890082c1624795991d534db9497c8b63630d (diff)
downloadgo-tangerine-a8ca75738a45a137ff7b2dfa276398fad26439da.tar
go-tangerine-a8ca75738a45a137ff7b2dfa276398fad26439da.tar.gz
go-tangerine-a8ca75738a45a137ff7b2dfa276398fad26439da.tar.bz2
go-tangerine-a8ca75738a45a137ff7b2dfa276398fad26439da.tar.lz
go-tangerine-a8ca75738a45a137ff7b2dfa276398fad26439da.tar.xz
go-tangerine-a8ca75738a45a137ff7b2dfa276398fad26439da.tar.zst
go-tangerine-a8ca75738a45a137ff7b2dfa276398fad26439da.zip
core: implemented new ropsten testnet
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/dao_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/geth/dao_test.go b/cmd/geth/dao_test.go
index f90bb182d..06578b612 100644
--- a/cmd/geth/dao_test.go
+++ b/cmd/geth/dao_test.go
@@ -191,14 +191,15 @@ func testDAOForkBlockNewChain(t *testing.T, testnet bool, genesis string, votes
genesisHash := common.HexToHash("0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3")
if testnet {
- genesisHash = common.HexToHash("0x0cd786a2425d16f152c658316c423e6ce1181e15c3295826d7c9904cba9ce303")
+ genesisHash = common.HexToHash("0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d")
}
if genesis != "" {
genesisHash = daoGenesisHash
}
config, err := core.GetChainConfig(db, genesisHash)
if err != nil {
- t.Fatalf("failed to retrieve chain config: %v", err)
+ t.Errorf("failed to retrieve chain config: %v", err)
+ return // we want to return here, the other checks can't make it past this point (nil panic).
}
// Validate the DAO hard-fork block number against the expected value
if config.DAOForkBlock == nil {