diff options
author | Paweł Bylica <chfast@gmail.com> | 2017-12-14 20:28:44 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2017-12-15 20:33:35 +0800 |
commit | fb5f25eeee6091ab4f70506a9b0ff36affe4d879 (patch) | |
tree | 0b150a4dc4abb0529cce36925bc24e10acd9b5b3 /internal/ethapi | |
parent | 5129ef22c2aaa3e8c733fe7c0fb6eff64457426c (diff) | |
download | dexon-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar dexon-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.gz dexon-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.bz2 dexon-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.lz dexon-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.xz dexon-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.zst dexon-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.zip |
core/vm: Remove snapshot param from Interpreter.Run()
Diffstat (limited to 'internal/ethapi')
-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 } |