Removed old (unused) argument
This commit is contained in:
@ -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()
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user