forked from cerc-io/plugeth
eth/downloader: drop log entry from peer, it's covered already
This commit is contained in:
parent
24cca2f18d
commit
d754c25cc8
@ -12,8 +12,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/common"
|
"github.com/ethereum/go-ethereum/common"
|
||||||
"github.com/ethereum/go-ethereum/logger"
|
|
||||||
"github.com/ethereum/go-ethereum/logger/glog"
|
|
||||||
"gopkg.in/fatih/set.v0"
|
"gopkg.in/fatih/set.v0"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -101,9 +99,6 @@ func (p *peer) SetIdle() {
|
|||||||
if next == 1 {
|
if next == 1 {
|
||||||
p.Demote()
|
p.Demote()
|
||||||
}
|
}
|
||||||
if prev != next {
|
|
||||||
glog.V(logger.Detail).Infof("%s: changing block download capacity from %d to %d", p.id, prev, next)
|
|
||||||
}
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user