diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-21 04:20:14 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-21 23:09:19 +0800 |
commit | 398d08a8dd9617954c55219872a5e0eecc1ea41d (patch) | |
tree | 2321946078bdae7e2998a44e33be12b355599dd5 /tests/state_test_util.go | |
parent | 07c3de3f75a579cf573fae7bf7c0ec11427dda9f (diff) | |
download | go-tangerine-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar.gz go-tangerine-398d08a8dd9617954c55219872a5e0eecc1ea41d.tar.zst go-tangerine-398d08a8dd9617954c55219872a5e0eecc1ea41d.zip |
tests: SetGasLimit
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) |