cmd/ewasm: fix ci builds

This commit is contained in:
Guillaume Ballet 2018-09-19 17:47:07 +02:00
parent 9927596822
commit d812571beb
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ func runCmd(ctx *cli.Context) error {
// VM: vm, // VM: vm,
// } // }
output, err := evm.Interpreter().Run(contract, []byte(input)) output, err := evm.Interpreter().Run(contract, []byte(input), false)
if err != nil { if err != nil {
return err return err

View file

@ -862,7 +862,7 @@ func selfDestruct(p *exec.Process, in *InterpreterEWASM, addressOffset int32) {
in.StateDB.Suicide(contract.Address()) in.StateDB.Suicide(contract.Address())
// Same as for `revert` and `return`, I need to forcefuly terminate // Same as for `revert` and `return`, I need to forcefully terminate
// the execution of the contract. // the execution of the contract.
in.terminationType = TerminateSuicide in.terminationType = TerminateSuicide
p.Terminate() p.Terminate()