From 9820a6399b1c6c1e8b1a57b96f7679f80adb1add Mon Sep 17 00:00:00 2001 From: Greg Pfeil Date: Tue, 18 Apr 2023 15:00:27 -0600 Subject: [PATCH] Correct -maxtxfee lower bound diagnostic messages Co-authored-by: Daira Hopwood Co-authored-by: str4d --- src/wallet/wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 192004a92..bb792517a 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -6721,12 +6721,12 @@ bool CWallet::ParameterInteraction(const CChainParams& params) maxTxFee = nMaxFee; if (CFeeRate(maxTxFee, 1000) < ::minRelayTxFee) { - return UIError(strprintf(_("Invalid amount for -maxtxfee=: '%s' (must be at least the minimum relay fee rate of %s to prevent stuck transactions)"), + return UIError(strprintf(_("Invalid amount for -maxtxfee=: '%s' (must be at least the minimum relay fee of %s for a 1000-byte transaction, to prevent stuck transactions)"), mapArgs["-maxtxfee"], ::minRelayTxFee.ToString())); } else if (maxTxFee < lowMaxTxFee) { - UIWarning(strprintf(_("-maxtxfee is set to a very low fee rate (%s). The recommendation is to allow for at least %d logical actions at the conventional fee, which would be %s."), + UIWarning(strprintf(_("-maxtxfee is set to a very low fee (%s). The recommendation is to allow for at least %d logical actions at the conventional fee, which would be %s."), mapArgs["-maxtxfee"], LOW_LOGICAL_ACTIONS, DisplayMoney(lowMaxTxFee)));