aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-12-18 22:16:59 +0800
committerGitHub <noreply@github.com>2017-12-18 22:16:59 +0800
commitfe070ab5c32702033489f1b9d1655ea1b894c29e (patch)
treef76b578f2008cec5da8a49158e545fcc260cbe10 /internal/ethapi
parent8c33ac10bff32d082facfd274188334a3236a4e7 (diff)
parentfb5f25eeee6091ab4f70506a9b0ff36affe4d879 (diff)
downloaddexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.tar
dexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.tar.gz
dexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.tar.bz2
dexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.tar.lz
dexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.tar.xz
dexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.tar.zst
dexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.zip
Merge pull request #15674 from chfast/vm-no-snapshot-param
core/vm: Remove snapshot param from Interpreter.Run()
Diffstat (limited to 'internal/ethapi')
-rw-r--r--internal/ethapi/tracer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ethapi/tracer_test.go b/internal/ethapi/tracer_test.go
index 5093dafd6..0ef450ce3 100644
--- a/internal/ethapi/tracer_test.go
+++ b/internal/ethapi/tracer_test.go
@@ -48,7 +48,7 @@ func runTrace(tracer *JavascriptTracer) (interface{}, error) {
contract := vm.NewContract(account{}, account{}, big.NewInt(0), 10000)
contract.Code = []byte{byte(vm.PUSH1), 0x1, byte(vm.PUSH1), 0x1, 0x0}
- _, err := env.Interpreter().Run(0, contract, []byte{})
+ _, err := env.Interpreter().Run(contract, []byte{})
if err != nil {
return nil, err
}