diff options
| author | Bardi Harborow <[email protected]> | 2014-03-29 05:17:28 -0400 |
|---|---|---|
| committer | Bardi Harborow <[email protected]> | 2014-03-29 05:17:28 -0400 |
| commit | ffeb47366df02b7f859ce3e64f2304967c837e8e (patch) | |
| tree | 8f151f3d4a71dc033350dee92b9d4c3534f795ac /src/init.cpp | |
| parent | Merge pull request #3973 (diff) | |
| download | discoin-ffeb47366df02b7f859ce3e64f2304967c837e8e.tar.xz discoin-ffeb47366df02b7f859ce3e64f2304967c837e8e.zip | |
Add nHighTransactionFeeWarning as per #3969.
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); |