From 92b6568e37488a2bc768c65f4bc64fedddb43501 Mon Sep 17 00:00:00 2001 From: Admin Date: Thu, 26 Apr 2018 22:59:40 +0700 Subject: [PATCH] Fix ! --- core/genesis_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/genesis_test.go b/core/genesis_test.go index 1dad0a757d..2a5b27e13b 100644 --- a/core/genesis_test.go +++ b/core/genesis_test.go @@ -31,8 +31,8 @@ import ( func TestDefaultGenesisBlock(t *testing.T) { block := DefaultGenesisBlock().ToBlock(nil) - if block.Hash() != params./ { - t.Errorf("wrong mainnet genesis hash, got %v, want %v", block.Hash(), params./) + if block.Hash() != params.MainnetGenesisHash { + t.Errorf("wrong mainnet genesis hash, got %v, want %v", block.Hash(), params.MainnetGenesisHash) } block = DefaultTestnetGenesisBlock().ToBlock(nil) if block.Hash() != params.TestnetGenesisHash { @@ -72,7 +72,7 @@ func TestSetupGenesis(t *testing.T) { fn: func(db ethdb.Database) (*params.ChainConfig, common.Hash, error) { return SetupGenesisBlock(db, nil) }, - wantHash: params./, + wantHash: params.MainnetGenesisHash, wantConfig: params.MainnetChainConfig, }, { @@ -81,7 +81,7 @@ func TestSetupGenesis(t *testing.T) { DefaultGenesisBlock().MustCommit(db) return SetupGenesisBlock(db, nil) }, - wantHash: params./, + wantHash: params.MainnetGenesisHash, wantConfig: params.MainnetChainConfig, }, {