diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-03-31 09:01:10 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-31 09:01:16 +0200 |
| commit | b86ed6ff23fbc5a71587648c5ae547ad404e09f2 (patch) | |
| tree | 7a9239ec8a0771e2c7cbca52bf51752d0ee83c6f /src/init.cpp | |
| parent | Merge pull request #3964 (diff) | |
| parent | Add nHighTransactionFeeWarning as per #3969. (diff) | |
| download | discoin-b86ed6ff23fbc5a71587648c5ae547ad404e09f2.tar.xz discoin-b86ed6ff23fbc5a71587648c5ae547ad404e09f2.zip | |
Merge pull request #3969
ffeb473 Add nHighTransactionFeeWarning as per #3969. (Bardi Harborow)
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index cd06e0c20..6e6e4beed 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -575,7 +575,7 @@ bool AppInit2(boost::thread_group& threadGroup) { if (!ParseMoney(mapArgs["-paytxfee"], nTransactionFee)) return InitError(strprintf(_("Invalid amount for -paytxfee=<amount>: '%s'"), mapArgs["-paytxfee"])); - if (nTransactionFee > 0.25 * COIN) + if (nTransactionFee > nHighTransactionFeeWarning) InitWarning(_("Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.")); } bSpendZeroConfChange = GetArg("-spendzeroconfchange", true); |