From 9b27fb91c0d7889ba3836c4cf91cc1fdcf7354c1 Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 4 Jun 2015 11:41:20 +0200 Subject: [PATCH] cmd/geth, common/natspec: updating tests (still failing?) --- cmd/geth/js_test.go | 2 +- common/natspec/natspec_e2e_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go index dee25e44e6..85051e2bc5 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -68,7 +68,7 @@ func testJEthRE(t *testing.T) (string, *testjethre, *eth.Ethereum) { } // set up mock genesis with balance on the testAddress - core.GenesisData = []byte(testGenesis) + core.GenesisAccounts = []byte(testGenesis) ks := crypto.NewKeyStorePlain(filepath.Join(tmp, "keystore")) am := accounts.NewManager(ks) diff --git a/common/natspec/natspec_e2e_test.go b/common/natspec/natspec_e2e_test.go index a8d318b57a..fffb7978b3 100644 --- a/common/natspec/natspec_e2e_test.go +++ b/common/natspec/natspec_e2e_test.go @@ -119,7 +119,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) { testAddress := strings.TrimPrefix(testAccount.Address.Hex(), "0x") // set up mock genesis with balance on the testAddress - core.GenesisData = []byte(`{ + core.GenesisAccounts = []byte(`{ "` + testAddress + `": {"balance": "` + testBalance + `"} }`)