Cleaned up objects

This commit is contained in:
obscuren
2014-12-19 00:18:52 +01:00
parent a7f4ade711
commit 59ef6e3693
7 changed files with 13 additions and 49 deletions

View File

@ -68,8 +68,7 @@ func (self *Env) Transfer(from, to vm.Account, amount *big.Int) error {
}
func (self *Env) vm(addr, data []byte, gas, price, value *big.Int) *core.Execution {
evm := vm.New(self, vm.DebugVmTy)
exec := core.NewExecution(evm, addr, data, gas, price, value)
exec := core.NewExecution(self, addr, data, gas, price, value)
exec.SkipTransfer = self.skipTransfer
return exec