aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state_transition.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/ethchain/state_transition.go b/ethchain/state_transition.go
index 80f9fda5e..1c7eae675 100644
--- a/ethchain/state_transition.go
+++ b/ethchain/state_transition.go
@@ -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
}