Merge pull request #15674 from chfast/vm-no-snapshot-param

core/vm: Remove snapshot param from Interpreter.Run()
This commit is contained in:
Péter Szilágyi
2017-12-18 16:16:59 +02:00
committed by GitHub
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
}