From b8124ec79182dbf90b28c8527f2440cea6473f1b Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 1 Apr 2015 23:58:26 +0200 Subject: Removed old (unused) argument --- tests/blocktest.go | 2 +- tests/helper/vm.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 } -- cgit v1.2.3