diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-12 05:51:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-12 05:52:27 +0800 |
commit | 6c9e503eb8d41d331d6a74e69539a06590072190 (patch) | |
tree | b9fd4b7abf20d9a901cd4e0f2dc3d70475cdc527 /chain/state_transition.go | |
parent | 75ee3b3f089e703b728bb301cc6b2abe4c111c41 (diff) | |
download | dexon-6c9e503eb8d41d331d6a74e69539a06590072190.tar dexon-6c9e503eb8d41d331d6a74e69539a06590072190.tar.gz dexon-6c9e503eb8d41d331d6a74e69539a06590072190.tar.bz2 dexon-6c9e503eb8d41d331d6a74e69539a06590072190.tar.lz dexon-6c9e503eb8d41d331d6a74e69539a06590072190.tar.xz dexon-6c9e503eb8d41d331d6a74e69539a06590072190.tar.zst dexon-6c9e503eb8d41d331d6a74e69539a06590072190.zip |
Removed all implicit logging. Fixed gas issues and jump errors
Diffstat (limited to 'chain/state_transition.go')
-rw-r--r-- | chain/state_transition.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chain/state_transition.go b/chain/state_transition.go index 41bdadedb..be117cf29 100644 --- a/chain/state_transition.go +++ b/chain/state_transition.go @@ -4,7 +4,6 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/state" "github.com/ethereum/go-ethereum/vm" ) @@ -229,13 +228,13 @@ func (self *StateTransition) TransitionState() (err error) { } msg.Output = ret - } else { - // Add default LOG. Default = big(sender.addr) + 1 - addr := ethutil.BigD(receiver.Address()) - self.state.AddLog(state.Log{sender.Address(), [][]byte{ethutil.U256(addr.Add(addr, ethutil.Big1)).Bytes()}, nil}) } } + // Add default LOG. Default = big(sender.addr) + 1 + //addr := ethutil.BigD(receiver.Address()) + //self.state.AddLog(&state.Log{ethutil.U256(addr.Add(addr, ethutil.Big1)).Bytes(), [][]byte{sender.Address()}, nil}) + return } |