diff options
Diffstat (limited to 'light/state_object.go')
-rw-r--r-- | light/state_object.go | 6 |
1 files changed, 3 insertions, 3 deletions
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) } } |