diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-20 22:49:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-20 22:49:12 +0800 |
commit | 9845029a7535672746139084138f3e894e604e44 (patch) | |
tree | 3503d094eac24e63108938a37008a2eab3b3528d /core/execution.go | |
parent | 375cc67ba6dbc57e69aa594a6ac26ebc9b3a713a (diff) | |
download | dexon-9845029a7535672746139084138f3e894e604e44.tar dexon-9845029a7535672746139084138f3e894e604e44.tar.gz dexon-9845029a7535672746139084138f3e894e604e44.tar.bz2 dexon-9845029a7535672746139084138f3e894e604e44.tar.lz dexon-9845029a7535672746139084138f3e894e604e44.tar.xz dexon-9845029a7535672746139084138f3e894e604e44.tar.zst dexon-9845029a7535672746139084138f3e894e604e44.zip |
StdVm by default
Diffstat (limited to 'core/execution.go')
-rw-r--r-- | core/execution.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/execution.go b/core/execution.go index f1e6f83f5..cad4e84aa 100644 --- a/core/execution.go +++ b/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.StdVmTy) + evm := vm.New(env) if env.Depth() == vm.MaxCallDepth { caller.ReturnGas(self.Gas, self.price) |