diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-22 07:49:47 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-22 07:49:47 +0800 |
commit | 9cf7913c61c6f9c1f36a44778a75e6a91a741be4 (patch) | |
tree | a68be62cd9460f517d9cbc7b02c861db4012a604 /tests/state_test_util.go | |
parent | 7633dfdc082e8a692ba8089732d353ad31b0a0d6 (diff) | |
parent | 398d08a8dd9617954c55219872a5e0eecc1ea41d (diff) | |
download | go-tangerine-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar go-tangerine-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.gz go-tangerine-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.bz2 go-tangerine-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.lz go-tangerine-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.xz go-tangerine-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.zst go-tangerine-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.zip |
Merge pull request #1304 from obscuren/state-renames
core, miner, xeth: renamed gas methods
Diffstat (limited to 'tests/state_test_util.go')
-rw-r--r-- | tests/state_test_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/state_test_util.go b/tests/state_test_util.go index e9abad788..2f3d497be 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -166,7 +166,7 @@ func RunState(statedb *state.StateDB, env, tx map[string]string) ([]byte, state. snapshot := statedb.Copy() coinbase := statedb.GetOrNewStateObject(caddr) - coinbase.SetGasPool(common.Big(env["currentGasLimit"])) + coinbase.SetGasLimit(common.Big(env["currentGasLimit"])) message := NewMessage(common.BytesToAddress(keyPair.Address()), to, data, value, gas, price, nonce) vmenv := NewEnvFromMap(statedb, env, tx) |