aboutsummaryrefslogtreecommitdiffstats
path: root/tests/state_test_util.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-21 04:20:14 +0800
committerobscuren <geffobscura@gmail.com>2015-06-21 23:09:19 +0800
commit398d08a8dd9617954c55219872a5e0eecc1ea41d (patch)
tree2321946078bdae7e2998a44e33be12b355599dd5 /tests/state_test_util.go
parent07c3de3f75a579cf573fae7bf7c0ec11427dda9f (diff)
downloaddexon-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar
dexon-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar.gz
dexon-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar.bz2
dexon-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar.lz
dexon-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar.xz
dexon-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar.zst
dexon-398d08a8dd9617954c55219872a5e0eecc1ea41d.zip
tests: SetGasLimit
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)