mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
rephrase error for invalid timeout
This commit is contained in:
@@ -966,7 +966,7 @@ bool AppInitParameterInteraction(const ArgsManager& args, bool use_syscall_sandb
|
|||||||
|
|
||||||
peer_connect_timeout = args.GetIntArg("-peertimeout", DEFAULT_PEER_CONNECT_TIMEOUT);
|
peer_connect_timeout = args.GetIntArg("-peertimeout", DEFAULT_PEER_CONNECT_TIMEOUT);
|
||||||
if (peer_connect_timeout <= 0) {
|
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")) {
|
if (args.IsArgSet("-minrelaytxfee")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user