VmDebug => StdVm

pull/268/head
obscuren 10 years ago
parent 9b509f6478
commit b03614527b
  1. 2
      core/execution.go

@ -33,7 +33,7 @@ func (self *Execution) Call(codeAddr []byte, caller vm.ContextRef) ([]byte, erro
func (self *Execution) exec(code, contextAddr []byte, caller vm.ContextRef) (ret []byte, err error) {
env := self.env
evm := vm.New(env, vm.DebugVmTy)
evm := vm.New(env, vm.StdVmTy)
if env.Depth() == vm.MaxCallDepth {
caller.ReturnGas(self.Gas, self.price)

Loading…
Cancel
Save