From 9449d42332b450733298723b47df343a571e4f6b Mon Sep 17 00:00:00 2001 From: Jannis Froese Date: Sat, 29 Mar 2014 22:14:05 +0100 Subject: [PATCH] warning and documentation changes to match dogecoin fees --- src/init.cpp | 2 +- src/rpcwallet.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index f3d761bf4..000507c33 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -555,7 +555,7 @@ bool AppInit2(boost::thread_group& threadGroup) { if (!ParseMoney(mapArgs["-paytxfee"], nTransactionFee)) return InitError(strprintf(_("Invalid amount for -paytxfee=: '%s'"), mapArgs["-paytxfee"])); - if (nTransactionFee > 0.25 * COIN) + if (nTransactionFee > 25 * COIN) InitWarning(_("Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.")); } bSpendZeroConfChange = GetArg("-spendzeroconfchange", true); diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 4665bc24f..5ac0c9088 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1875,8 +1875,8 @@ Value settxfee(const Array& params, bool fHelp) "\nResult\n" "true|false (boolean) Returns true if successful\n" "\nExamples:\n" - + HelpExampleCli("settxfee", "0.00001") - + HelpExampleRpc("settxfee", "0.00001") + + HelpExampleCli("settxfee", "5") + + HelpExampleRpc("settxfee", "5") ); // Amount