Better wording for transaction fee notification messages
authorGavin Andresen <gavinandresen@gmail.com>
Wed, 20 Apr 2011 22:08:01 +0000 (18:08 -0400)
committerGavin Andresen <gavinandresen@gmail.com>
Wed, 20 Apr 2011 22:08:01 +0000 (18:08 -0400)
main.cpp
ui.cpp

index ce54179..4c8f20c 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -4067,7 +4067,7 @@ string SendMoney(CScript scriptPubKey, int64 nValue, CWalletTx& wtxNew, bool fAs
     {
         string strError;
         if (nValue + nFeeRequired > GetBalance())
-            strError = strprintf(_("Error: This is an oversized transaction that requires a transaction fee of %s  "), FormatMoney(nFeeRequired).c_str());
+            strError = strprintf(_("Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds  "), FormatMoney(nFeeRequired).c_str());
         else
             strError = _("Error: Transaction creation failed  ");
         printf("SendMoney() : %s", strError.c_str());
diff --git a/ui.cpp b/ui.cpp
index 5d4c652..2277da6 100644 (file)
--- a/ui.cpp
+++ b/ui.cpp
@@ -2247,7 +2247,7 @@ void CSendingDialog::OnReply2(CDataStream& vRecv)
         if (!CreateTransaction(scriptPubKey, nPrice, wtx, reservekey, nFeeRequired))
         {
             if (nPrice + nFeeRequired > GetBalance())
-                Error(strprintf(_("This is an oversized transaction that requires a transaction fee of %s"), FormatMoney(nFeeRequired).c_str()));
+                Error(strprintf(_("This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds"), FormatMoney(nFeeRequired).c_str()));
             else
                 Error(_("Transaction creation failed"));
             return;