diff options
author | Felix Lange <fjl@twurst.com> | 2016-04-15 19:45:15 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-15 19:45:15 +0800 |
commit | 6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea (patch) | |
tree | 1b3b3677892e2d94400f3604dc6c2dda4c05ccd4 /cmd/geth | |
parent | 5c17b2f5211ec98a87140c874483681de4e34391 (diff) | |
parent | bf5ae502ef179490a039c9bcd66d32cd5a7ce5e9 (diff) | |
download | go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.gz go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.bz2 go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.lz go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.xz go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.zst go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.zip |
Merge pull request #2458 from fjl/go-vet
all: fix go vet warnings
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/js_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go index baf572359..ddfe0d400 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -89,7 +89,10 @@ func testREPL(t *testing.T, config func(*eth.Config)) (string, *testjethre, *nod // Initialize and register the Ethereum protocol accman := accounts.NewPlaintextManager(filepath.Join(tmp, "keystore")) db, _ := ethdb.NewMemDatabase() - core.WriteGenesisBlockForTesting(db, core.GenesisAccount{common.HexToAddress(testAddress), common.String2Big(testBalance)}) + core.WriteGenesisBlockForTesting(db, core.GenesisAccount{ + Address: common.HexToAddress(testAddress), + Balance: common.String2Big(testBalance), + }) ethConf := ð.Config{ ChainConfig: &core.ChainConfig{HomesteadBlock: new(big.Int)}, TestGenesisState: db, |