diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-02-28 21:51:30 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-02-28 21:51:30 +0800 |
commit | b117da2db3e2a7c557fa6f95c49aa041a973a563 (patch) | |
tree | e7b4b68ffe98debb25cf7999012eb2d4e96e5436 /core/state/state_object.go | |
parent | e02883c0a2a9aa70de6b80413ca40dca833c4946 (diff) | |
download | go-tangerine-b117da2db3e2a7c557fa6f95c49aa041a973a563.tar go-tangerine-b117da2db3e2a7c557fa6f95c49aa041a973a563.tar.gz go-tangerine-b117da2db3e2a7c557fa6f95c49aa041a973a563.tar.bz2 go-tangerine-b117da2db3e2a7c557fa6f95c49aa041a973a563.tar.lz go-tangerine-b117da2db3e2a7c557fa6f95c49aa041a973a563.tar.xz go-tangerine-b117da2db3e2a7c557fa6f95c49aa041a973a563.tar.zst go-tangerine-b117da2db3e2a7c557fa6f95c49aa041a973a563.zip |
core/state: drop most of a logs (useless at this volume)
Diffstat (limited to 'core/state/state_object.go')
-rw-r--r-- | core/state/state_object.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/state/state_object.go b/core/state/state_object.go index ebb103806..d1c9a875d 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -24,7 +24,6 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/trie" ) @@ -134,9 +133,6 @@ func (self *stateObject) markSuicided() { self.onDirty(self.Address()) self.onDirty = nil } - log.Debug("", "msg", log.Lazy{Fn: func() string { - return fmt.Sprintf("%x: #%d %v X\n", self.Address(), self.Nonce(), self.Balance()) - }}) } func (c *stateObject) touch() { @@ -251,10 +247,6 @@ func (c *stateObject) AddBalance(amount *big.Int) { return } c.SetBalance(new(big.Int).Add(c.Balance(), amount)) - - log.Debug("", "msg", log.Lazy{Fn: func() string { - return fmt.Sprintf("%x: #%d %v (+ %v)\n", c.Address(), c.Nonce(), c.Balance(), amount) - }}) } // SubBalance removes amount from c's balance. @@ -264,10 +256,6 @@ func (c *stateObject) SubBalance(amount *big.Int) { return } c.SetBalance(new(big.Int).Sub(c.Balance(), amount)) - - log.Debug("", "msg", log.Lazy{Fn: func() string { - return fmt.Sprintf("%x: #%d %v (- %v)\n", c.Address(), c.Nonce(), c.Balance(), amount) - }}) } func (self *stateObject) SetBalance(amount *big.Int) { |