diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-12-18 22:16:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 22:16:59 +0800 |
commit | fe070ab5c32702033489f1b9d1655ea1b894c29e (patch) | |
tree | f76b578f2008cec5da8a49158e545fcc260cbe10 /internal | |
parent | 8c33ac10bff32d082facfd274188334a3236a4e7 (diff) | |
parent | fb5f25eeee6091ab4f70506a9b0ff36affe4d879 (diff) | |
download | dexon-fe070ab5c32702033489f1b9d1655ea1b894c29e.tar.gz 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')
-rw-r--r-- | internal/ethapi/tracer_test.go | 2 |
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 } |