aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-04 17:41:20 +0800
committerobscuren <geffobscura@gmail.com>2015-06-04 17:41:20 +0800
commit9b27fb91c0d7889ba3836c4cf91cc1fdcf7354c1 (patch)
tree4000ea1356e47668aa15085cc3511fc749cc7055
parent36c0db2ac9e1505bfcb29a137f67ba31efde4c90 (diff)
downloaddexon-9b27fb91c0d7889ba3836c4cf91cc1fdcf7354c1.tar.gz
dexon-9b27fb91c0d7889ba3836c4cf91cc1fdcf7354c1.tar.zst
dexon-9b27fb91c0d7889ba3836c4cf91cc1fdcf7354c1.zip
cmd/geth, common/natspec: updating tests (still failing?)
-rw-r--r--cmd/geth/js_test.go2
-rw-r--r--common/natspec/natspec_e2e_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go
index dee25e44e..85051e2bc 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 a8d318b57..fffb7978b 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 + `"}
}`)