diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-26 13:19:44 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-26 13:20:20 +0200 |
commit | 86f9e3dbba416a142df47dbd646c8e8ba772c955 (patch) | |
tree | c4ebd1bfcc649b49a95b9f7b07ca3f0aaa94c549 /src | |
parent | 54259370ae93adfcd58502c851bbbcab1c8d5c33 (diff) | |
parent | 04c1c155440405aa47586962e038696b9a2bc046 (diff) | |
download | bitcoin-86f9e3dbba416a142df47dbd646c8e8ba772c955.tar.xz |
Merge #9020: rpc: Remove invalid explanation from wallet fee message
04c1c15 rpc: Remove invalid explanation from wallet fee message (Wladimir J. van der Laan)
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index ab7e74988a..d8b7e05148 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -362,7 +362,7 @@ static void SendMoney(const CTxDestination &address, CAmount nValue, bool fSubtr vecSend.push_back(recipient); if (!pwalletMain->CreateTransaction(vecSend, wtxNew, reservekey, nFeeRequired, nChangePosRet, strError)) { if (!fSubtractFeeFromAmount && nValue + nFeeRequired > pwalletMain->GetBalance()) - 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)); + strError = strprintf("Error: This transaction requires a transaction fee of at least %s", FormatMoney(nFeeRequired)); throw JSONRPCError(RPC_WALLET_ERROR, strError); } if (!pwalletMain->CommitTransaction(wtxNew, reservekey, g_connman.get())) |