From c0af8b14afd80f23afad92e222935e7b585717e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurk=C3=B3=20Mih=C3=A1ly?= Date: Wed, 19 Sep 2018 11:45:33 +0300 Subject: [PATCH] p2p: fix comment --- p2p/metrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/metrics.go b/p2p/metrics.go index ffc280db70..eb556d8780 100644 --- a/p2p/metrics.go +++ b/p2p/metrics.go @@ -102,8 +102,8 @@ type meteredConn struct { // newMeteredConn creates a new metered connection, bumps the ingress or egress // connection meter and also increases the metered peer count. If the metrics -// system is disabled, the IP address is unspecified or the metered peer count -// reached the limit, this function returns the original object. +// system is disabled or the IP address is unspecified, this function returns +// the original object. func newMeteredConn(conn net.Conn, ingress bool, ip net.IP) net.Conn { // Short circuit if metrics are disabled if !metrics.Enabled {