cmd/geth, common/natspec: updating tests (still failing?)

This commit is contained in:
obscuren 2015-06-04 11:41:20 +02:00
parent 36c0db2ac9
commit 9b27fb91c0
2 changed files with 2 additions and 2 deletions

@ -68,7 +68,7 @@ func testJEthRE(t *testing.T) (string, *testjethre, *eth.Ethereum) {
} }
// set up mock genesis with balance on the testAddress // set up mock genesis with balance on the testAddress
core.GenesisData = []byte(testGenesis) core.GenesisAccounts = []byte(testGenesis)
ks := crypto.NewKeyStorePlain(filepath.Join(tmp, "keystore")) ks := crypto.NewKeyStorePlain(filepath.Join(tmp, "keystore"))
am := accounts.NewManager(ks) am := accounts.NewManager(ks)

@ -119,7 +119,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) {
testAddress := strings.TrimPrefix(testAccount.Address.Hex(), "0x") testAddress := strings.TrimPrefix(testAccount.Address.Hex(), "0x")
// set up mock genesis with balance on the testAddress // set up mock genesis with balance on the testAddress
core.GenesisData = []byte(`{ core.GenesisAccounts = []byte(`{
"` + testAddress + `": {"balance": "` + testBalance + `"} "` + testAddress + `": {"balance": "` + testBalance + `"}
}`) }`)