From 748a10e896b84f084f573472428b76d49c3c9795 Mon Sep 17 00:00:00 2001 From: /dev/fd0 Date: Thu, 30 Jun 2022 03:38:27 +0530 Subject: [PATCH] rephrase error for invalid timeout --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index ee90abcc932..d844e9b1699 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -966,7 +966,7 @@ bool AppInitParameterInteraction(const ArgsManager& args, bool use_syscall_sandb peer_connect_timeout = args.GetIntArg("-peertimeout", DEFAULT_PEER_CONNECT_TIMEOUT); if (peer_connect_timeout <= 0) { - return InitError(Untranslated("peertimeout cannot be configured with a negative value.")); + return InitError(Untranslated("peertimeout must be a positive integer.")); } if (args.IsArgSet("-minrelaytxfee")) {