aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-02 05:58:26 +0800
committerobscuren <geffobscura@gmail.com>2015-04-02 05:58:26 +0800
commitb8124ec79182dbf90b28c8527f2440cea6473f1b (patch)
treee5c14f90203a9b2a1d37cff28f92918b2ed54398 /tests
parent219d94c1ddcb1e1e8a3fbfcfdcb545e6271dd5be (diff)
downloadgo-tangerine-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar
go-tangerine-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.gz
go-tangerine-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.bz2
go-tangerine-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.lz
go-tangerine-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.xz
go-tangerine-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.zst
go-tangerine-b8124ec79182dbf90b28c8527f2440cea6473f1b.zip
Removed old (unused) argument
Diffstat (limited to 'tests')
-rw-r--r--tests/blocktest.go2
-rw-r--r--tests/helper/vm.go2
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
}