From 87a9c9743716f125b9e7976895e47bd1a87e82b4 Mon Sep 17 00:00:00 2001 From: Bushstar Date: Mon, 20 Mar 2023 16:22:56 +0000 Subject: [PATCH] Remove debug code --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 217cb38702f..d4951336d11 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."); }