From e617bfb0f7b2854acb00ae90afb3f1a223502210 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 17 Jun 2015 17:15:30 +0200 Subject: [PATCH] Corrected typo about max peer count. --- libp2p/Host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/Host.cpp b/libp2p/Host.cpp index a0d8e1297..feb116c4a 100644 --- a/libp2p/Host.cpp +++ b/libp2p/Host.cpp @@ -391,7 +391,7 @@ void Host::runAcceptor() { if (peerCount() > 9 * m_idealPeerCount) { - clog(NetConnect) << "Dropping incoming connect due to maximum peer count (2 * ideal peer count): " << socket->remoteEndpoint(); + clog(NetConnect) << "Dropping incoming connect due to maximum peer count (9 * ideal peer count): " << socket->remoteEndpoint(); socket->close(); if (ec.value() < 1) runAcceptor();