mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge bitcoin/bitcoin#25506: Rephrase error message for invalid value of -peertimeout
748a10e896b84f084f573472428b76d49c3c9795 rephrase error for invalid timeout (/dev/fd0)
Pull request description:
Fixes https://github.com/bitcoin/bitcoin/pull/25505#issuecomment-1170479405
ACKs for top commit:
kristapsk:
re-ACK 748a10e896b84f084f573472428b76d49c3c9795
brunoerg:
ACK 748a10e896b84f084f573472428b76d49c3c9795
w0xlt:
ACK 748a10e896
Tree-SHA512: 5602bb207933375004ffdfb173dd2a8302ea6005fd6f959a02e6670aa784923b4b459755153de4d24efc0fb0510ffc1e08cf8fc0a7d15ecf1529c9aea791d4df
This commit is contained in:
parent
64a6f74de1
commit
d1018ff55a
@ -1377,7 +1377,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
|
|||||||
|
|
||||||
peer_connect_timeout = args.GetArg("-peertimeout", DEFAULT_PEER_CONNECT_TIMEOUT);
|
peer_connect_timeout = args.GetArg("-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")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user