aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-04 21:22:55 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-04 21:22:55 +0800
commitd754c25cc87172dfafeea71116da2260544a3f09 (patch)
treeaff4fb03c3fdb054bef7ad132e2ce32ff8668698
parent24cca2f18d4a7abb103179a289db09c2d11bd2a3 (diff)
downloaddexon-d754c25cc87172dfafeea71116da2260544a3f09.tar
dexon-d754c25cc87172dfafeea71116da2260544a3f09.tar.gz
dexon-d754c25cc87172dfafeea71116da2260544a3f09.tar.bz2
dexon-d754c25cc87172dfafeea71116da2260544a3f09.tar.lz
dexon-d754c25cc87172dfafeea71116da2260544a3f09.tar.xz
dexon-d754c25cc87172dfafeea71116da2260544a3f09.tar.zst
dexon-d754c25cc87172dfafeea71116da2260544a3f09.zip
eth/downloader: drop log entry from peer, it's covered already
-rw-r--r--eth/downloader/peer.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go
index 2b3f8798e..43b50079b 100644
--- a/eth/downloader/peer.go
+++ b/eth/downloader/peer.go
@@ -12,8 +12,6 @@ import (
"time"
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/logger"
- "github.com/ethereum/go-ethereum/logger/glog"
"gopkg.in/fatih/set.v0"
)
@@ -101,9 +99,6 @@ func (p *peer) SetIdle() {
if next == 1 {
p.Demote()
}
- if prev != next {
- glog.V(logger.Detail).Infof("%s: changing block download capacity from %d to %d", p.id, prev, next)
- }
break
}
}