aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
author/dev/fd0 <alicexbt@protonmail.com>2022-06-30 03:38:27 +0530
committer/dev/fd0 <alicexbt@protonmail.com>2022-06-30 14:16:04 +0530
commit748a10e896b84f084f573472428b76d49c3c9795 (patch)
tree7eb21cf268312eb9f913bd966440d828a538ac4a /src/init.cpp
parent5bc10b39abbcb77638161902ccd1225139bc7cc0 (diff)
rephrase error for invalid timeout
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index ee90abcc93..d844e9b169 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")) {