Skip to content

Commit 748a10e

Browse files
committed
rephrase error for invalid timeout
1 parent 5bc10b3 commit 748a10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ bool AppInitParameterInteraction(const ArgsManager& args, bool use_syscall_sandb
966966

967967
peer_connect_timeout = args.GetIntArg("-peertimeout", DEFAULT_PEER_CONNECT_TIMEOUT);
968968
if (peer_connect_timeout <= 0) {
969-
return InitError(Untranslated("peertimeout cannot be configured with a negative value."));
969+
return InitError(Untranslated("peertimeout must be a positive integer."));
970970
}
971971

972972
if (args.IsArgSet("-minrelaytxfee")) {

0 commit comments

Comments
 (0)