diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-09-26 14:49:47 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-09-26 14:44:24 +0200 |
commit | fa4bfb48193a03d99d1dfdfd1e67b613293755bf (patch) | |
tree | 949302ec9c95a41582031acf7dc457f86f034d83 /src/wallet | |
parent | faef293cf311a1063b31f90b645cb491d0140930 (diff) |
[wallet, policy] ParameterInteraction: Don't allow 0 fee
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 50d63182ae..a5bfde6595 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3492,7 +3492,7 @@ bool CWallet::ParameterInteraction() if (mapArgs.count("-mintxfee")) { CAmount n = 0; - if (!ParseMoney(mapArgs["-mintxfee"], n)) + if (!ParseMoney(mapArgs["-mintxfee"], n) || 0 == n) return InitError(AmountErrMsg("mintxfee", mapArgs["-mintxfee"])); if (n > HIGH_TX_FEE_PER_KB) InitWarning(AmountHighWarn("-mintxfee") + " " + |