mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-30 00:35:05 +00:00
Better wording for transaction fee notification messages
This commit is contained in:
parent
ca5884873e
commit
64ad448adc
2
main.cpp
2
main.cpp
@ -4067,7 +4067,7 @@ string SendMoney(CScript scriptPubKey, int64 nValue, CWalletTx& wtxNew, bool fAs
|
|||||||
{
|
{
|
||||||
string strError;
|
string strError;
|
||||||
if (nValue + nFeeRequired > GetBalance())
|
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
|
else
|
||||||
strError = _("Error: Transaction creation failed ");
|
strError = _("Error: Transaction creation failed ");
|
||||||
printf("SendMoney() : %s", strError.c_str());
|
printf("SendMoney() : %s", strError.c_str());
|
||||||
|
2
ui.cpp
2
ui.cpp
@ -2247,7 +2247,7 @@ void CSendingDialog::OnReply2(CDataStream& vRecv)
|
|||||||
if (!CreateTransaction(scriptPubKey, nPrice, wtx, reservekey, nFeeRequired))
|
if (!CreateTransaction(scriptPubKey, nPrice, wtx, reservekey, nFeeRequired))
|
||||||
{
|
{
|
||||||
if (nPrice + nFeeRequired > GetBalance())
|
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
|
else
|
||||||
Error(_("Transaction creation failed"));
|
Error(_("Transaction creation failed"));
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user