aboutsummaryrefslogtreecommitdiffstats
path: root/tests/state_test_util.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-06-22 07:49:47 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-06-22 07:49:47 +0800
commit9cf7913c61c6f9c1f36a44778a75e6a91a741be4 (patch)
treea68be62cd9460f517d9cbc7b02c861db4012a604 /tests/state_test_util.go
parent7633dfdc082e8a692ba8089732d353ad31b0a0d6 (diff)
parent398d08a8dd9617954c55219872a5e0eecc1ea41d (diff)
downloadgo-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.go2
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)