diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-22 17:58:30 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-22 17:58:30 +0800 |
commit | ed7e05fb2a5729d4a52f5c5af110693e45eb076c (patch) | |
tree | 15481ea1861615a700cbcc27a41f9ed83c2a6ba7 /cmd | |
parent | 8130df63caa719831aeb05f56683ea7439f4af0e (diff) | |
parent | 795b14330ad4399ef292835eac452d258dcd7464 (diff) | |
download | dexon-ed7e05fb2a5729d4a52f5c5af110693e45eb076c.tar dexon-ed7e05fb2a5729d4a52f5c5af110693e45eb076c.tar.gz dexon-ed7e05fb2a5729d4a52f5c5af110693e45eb076c.tar.bz2 dexon-ed7e05fb2a5729d4a52f5c5af110693e45eb076c.tar.lz dexon-ed7e05fb2a5729d4a52f5c5af110693e45eb076c.tar.xz dexon-ed7e05fb2a5729d4a52f5c5af110693e45eb076c.tar.zst dexon-ed7e05fb2a5729d4a52f5c5af110693e45eb076c.zip |
Merge branch 'develop' into poc8
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/evm/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go index c6c986a04..2bdfdfa9f 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -141,9 +141,7 @@ func (self *VMEnv) Transfer(from, to vm.Account, amount *big.Int) error { } func (self *VMEnv) vm(addr, data []byte, gas, price, value *big.Int) *core.Execution { - evm := vm.New(self, vm.DebugVmTy) - - return core.NewExecution(evm, addr, data, gas, price, value) + return core.NewExecution(self, addr, data, gas, price, value) } func (self *VMEnv) Call(caller vm.ClosureRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) { |