Implemented POST

This commit is contained in:
obscuren
2014-08-25 11:29:42 +02:00
parent cdbc3ecc2a
commit 3f904bf3ac
6 changed files with 217 additions and 79 deletions

View File

@ -278,6 +278,15 @@ func (self *StateTransition) Eval(msg *ethstate.Message, script []byte, context
ret, _, err = callerClosure.Call(vm, self.tx.Data)
if err == nil {
// Execute POSTs
for e := vm.Queue().Front(); e != nil; e = e.Next() {
msg := e.Value.(*ethvm.Message)
msg.Exec(transactor)
}
}
return
}