diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-02 05:58:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-02 05:58:26 +0800 |
commit | b8124ec79182dbf90b28c8527f2440cea6473f1b (patch) | |
tree | e5c14f90203a9b2a1d37cff28f92918b2ed54398 /tests | |
parent | 219d94c1ddcb1e1e8a3fbfcfdcb545e6271dd5be (diff) | |
download | dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.gz dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.zst dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.zip |
Removed old (unused) argument
Diffstat (limited to 'tests')
-rw-r--r-- | tests/blocktest.go | 2 | ||||
-rw-r--r-- | tests/helper/vm.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/blocktest.go b/tests/blocktest.go index fc62eda58..1c4f1c2f2 100644 --- a/tests/blocktest.go +++ b/tests/blocktest.go @@ -114,7 +114,7 @@ func (t *BlockTest) InsertPreState(db common.Database) (*state.StateDB, error) { } } // sync objects to trie - statedb.Update(nil) + statedb.Update() // sync trie to disk statedb.Sync() diff --git a/tests/helper/vm.go b/tests/helper/vm.go index 052ad6a6e..9f62ada95 100644 --- a/tests/helper/vm.go +++ b/tests/helper/vm.go @@ -185,7 +185,7 @@ func RunState(statedb *state.StateDB, env, tx map[string]string) ([]byte, state. if core.IsNonceErr(err) || core.IsInvalidTxErr(err) { statedb.Set(snapshot) } - statedb.Update(vmenv.Gas) + statedb.Update() return ret, vmenv.logs, vmenv.Gas, err } |