aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2017-12-14 20:28:44 +0800
committerPaweł Bylica <chfast@gmail.com>2017-12-15 20:33:35 +0800
commitfb5f25eeee6091ab4f70506a9b0ff36affe4d879 (patch)
tree0b150a4dc4abb0529cce36925bc24e10acd9b5b3 /internal
parent5129ef22c2aaa3e8c733fe7c0fb6eff64457426c (diff)
downloadgo-tangerine-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar
go-tangerine-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.gz
go-tangerine-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.bz2
go-tangerine-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.lz
go-tangerine-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.xz
go-tangerine-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.tar.zst
go-tangerine-fb5f25eeee6091ab4f70506a9b0ff36affe4d879.zip
core/vm: Remove snapshot param from Interpreter.Run()
Diffstat (limited to 'internal')
-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
}