Skip to content

Commit 04c1c15

Browse files
committed
rpc: Remove invalid explanation from wallet fee message
1 parent 5425937 commit 04c1c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ static void SendMoney(const CTxDestination &address, CAmount nValue, bool fSubtr
362362
vecSend.push_back(recipient);
363363
if (!pwalletMain->CreateTransaction(vecSend, wtxNew, reservekey, nFeeRequired, nChangePosRet, strError)) {
364364
if (!fSubtractFeeFromAmount && nValue + nFeeRequired > pwalletMain->GetBalance())
365-
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));
365+
strError = strprintf("Error: This transaction requires a transaction fee of at least %s", FormatMoney(nFeeRequired));
366366
throw JSONRPCError(RPC_WALLET_ERROR, strError);
367367
}
368368
if (!pwalletMain->CommitTransaction(wtxNew, reservekey, g_connman.get()))

0 commit comments

Comments
 (0)