minor comments/changes

This commit is contained in:
Ethan Buchman
2017-09-11 15:45:12 -04:00
parent 301845943c
commit 29bfcb0a31
4 changed files with 3 additions and 7 deletions

View File

@ -352,7 +352,7 @@ func (peer *bpPeer) setLogger(l log.Logger) {
func (peer *bpPeer) resetMonitor() {
peer.recvMonitor = flow.New(time.Second, time.Second*40)
var initialValue = float64(minRecvRate) * math.E
initialValue := float64(minRecvRate) * math.E
peer.recvMonitor.SetREMA(initialValue)
}