aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-10-17 16:29:03 -0400
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-18 14:41:42 +0200
commit685e4c78f8ed3c25043f395125d7fc57d8183fef (patch)
treef1eb02da56547df595b52ad243e908639d4b6abf
parent3f508edcfb92f80092ed1ac4ccc3c33b2f20d207 (diff)
downloadbitcoin-685e4c78f8ed3c25043f395125d7fc57d8183fef.tar.xz
Remove bogus assert on number of oubound connections.
This value can be significantly higher if the users uses addnode Github-Pull: #8944 Rebased-From: 1ab21cf344ed0547de5ae679b7e479cb4b1a923b
-rw-r--r--src/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index e44c66c2a0..42fde43530 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1655,7 +1655,6 @@ void ThreadOpenConnections()
}
}
}
- assert(nOutbound <= (MAX_OUTBOUND_CONNECTIONS + MAX_FEELER_CONNECTIONS));
// Feeler Connections
//