aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
Diffstat (limited to 'light')
-rw-r--r--light/state.go2
-rw-r--r--light/state_object.go6
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)
}
}