diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2017-02-15 17:14:44 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2017-02-15 17:14:44 +0800 |
commit | c8695fae359aa327da9203a57ffaf4f2d47d4370 (patch) | |
tree | 1ea2f6f687f75d99e019133beddf6aef63881afe /light | |
parent | a973d1d5233bbd36cbaed0b7235311d4cd529580 (diff) | |
download | go-tangerine-c8695fae359aa327da9203a57ffaf4f2d47d4370.tar go-tangerine-c8695fae359aa327da9203a57ffaf4f2d47d4370.tar.gz go-tangerine-c8695fae359aa327da9203a57ffaf4f2d47d4370.tar.bz2 go-tangerine-c8695fae359aa327da9203a57ffaf4f2d47d4370.tar.lz go-tangerine-c8695fae359aa327da9203a57ffaf4f2d47d4370.tar.xz go-tangerine-c8695fae359aa327da9203a57ffaf4f2d47d4370.tar.zst go-tangerine-c8695fae359aa327da9203a57ffaf4f2d47d4370.zip |
logger: remove Core verbosity level (#3659)
Diffstat (limited to 'light')
-rw-r--r-- | light/state.go | 2 | ||||
-rw-r--r-- | light/state_object.go | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/light/state.go b/light/state.go index f8b75c588..b6cefc9b9 100644 --- a/light/state.go +++ b/light/state.go @@ -239,7 +239,7 @@ func (self *LightState) GetOrNewStateObject(ctx context.Context, addr common.Add // newStateObject creates a state object whether it exists in the state or not func (self *LightState) newStateObject(addr common.Address) *StateObject { - if glog.V(logger.Core) { + if glog.V(logger.Debug) { glog.Infof("(+) %x\n", addr) } diff --git a/light/state_object.go b/light/state_object.go index 56f607bff..e876c1566 100644 --- a/light/state_object.go +++ b/light/state_object.go @@ -109,7 +109,7 @@ func (self *StateObject) MarkForDeletion() { self.remove = true self.dirty = true - if glog.V(logger.Core) { + if glog.V(logger.Debug) { glog.Infof("%x: #%d %v X\n", self.Address(), self.nonce, self.balance) } } @@ -158,7 +158,7 @@ func (self *StateObject) SetState(k, value common.Hash) { func (c *StateObject) AddBalance(amount *big.Int) { c.SetBalance(new(big.Int).Add(c.balance, amount)) - if glog.V(logger.Core) { + if glog.V(logger.Debug) { glog.Infof("%x: #%d %v (+ %v)\n", c.Address(), c.nonce, c.balance, amount) } } @@ -167,7 +167,7 @@ func (c *StateObject) AddBalance(amount *big.Int) { func (c *StateObject) SubBalance(amount *big.Int) { c.SetBalance(new(big.Int).Sub(c.balance, amount)) - if glog.V(logger.Core) { + if glog.V(logger.Debug) { glog.Infof("%x: #%d %v (- %v)\n", c.Address(), c.nonce, c.balance, amount) } } |