core/vm: Remove snapshot param from Interpreter.Run()

This commit is contained in:
Paweł Bylica
2017-12-14 13:28:44 +01:00
parent 5129ef22c2
commit fb5f25eeee
3 changed files with 11 additions and 11 deletions

View File

@ -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
}