From c44c9499fe5d290e86003108d3737f5a1b56d34a Mon Sep 17 00:00:00 2001 From: Peter John Bushnell Date: Tue, 21 Mar 2023 05:00:16 +0000 Subject: [PATCH] Remove debug code (#1833) --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 217cb38702..d4951336d1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1252,7 +1252,7 @@ bool AppInitParameterInteraction() } maxAddrRatePerSecond = gArgs.GetDoubleArg("-maxaddrratepersecond", Params().NetworkIDString() == CBaseChainParams::REGTEST ? MAX_ADDR_RATE_PER_SECOND_REGTEST : MAX_ADDR_RATE_PER_SECOND); - std::cout << maxAddrRatePerSecond << std::endl; + if (maxAddrRatePerSecond <= static_cast(0)) { return InitError("maxaddrratepersecond cannot be configured with a negative value."); }