Transaction execution fixes

This commit is contained in:
obscuren
2014-11-12 01:36:36 +01:00
parent 9bb1ac7564
commit 60cdb1148c
12 changed files with 61 additions and 33 deletions

View File

@ -247,6 +247,8 @@ func (self *StateTransition) Eval(msg *state.Message, script []byte, context *st
)
evm := vm.New(env, vm.DebugVmTy)
// TMP this will change in the refactor
callerClosure.SetExecution(vm.NewExecution(evm, nil, nil, nil, nil, self.tx.Value))
ret, _, err = callerClosure.Call(evm, self.tx.Data)
return