diff options
Diffstat (limited to 'ethchain/state_transition.go')
-rw-r--r-- | ethchain/state_transition.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ethchain/state_transition.go b/ethchain/state_transition.go index 1274915d5..542b7be13 100644 --- a/ethchain/state_transition.go +++ b/ethchain/state_transition.go @@ -237,6 +237,12 @@ func (self *StateTransition) TransitionState() (err error) { } msg.Output = ret + } else { + // Add default LOG + // PUSH1 1 CALLER ADD LOG1 + addr := ethutil.BigD(sender.Address()) + addr.Add(addr, ethutil.Big1) + tx.addLog(vm.Log{sender.Address(), []*big.Int{addr}, nil}) } } |