Skip to content

Commit d1018ff

Browse files
MacroFakePastaPastaPasta
authored andcommitted
Merge bitcoin#25506: Rephrase error message for invalid value of -peertimeout
748a10e rephrase error for invalid timeout (/dev/fd0) Pull request description: Fixes bitcoin#25505 (comment) ACKs for top commit: kristapsk: re-ACK 748a10e brunoerg: ACK 748a10e w0xlt: ACK bitcoin@748a10e Tree-SHA512: 5602bb207933375004ffdfb173dd2a8302ea6005fd6f959a02e6670aa784923b4b459755153de4d24efc0fb0510ffc1e08cf8fc0a7d15ecf1529c9aea791d4df
1 parent 64a6f74 commit d1018ff

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
@@ -1377,7 +1377,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
13771377

13781378
peer_connect_timeout = args.GetArg("-peertimeout", DEFAULT_PEER_CONNECT_TIMEOUT);
13791379
if (peer_connect_timeout <= 0) {
1380-
return InitError(Untranslated("peertimeout cannot be configured with a negative value."));
1380+
return InitError(Untranslated("peertimeout must be a positive integer."));
13811381
}
13821382

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

0 commit comments

Comments
 (0)