Mercurial > hg > bitcoin
changeset 3290:efb16d195044 draft
Make this error message similar to the others
author | fanquake <fanquake@gmail.com> |
---|---|
date | Tue, 07 Aug 2012 22:39:19 +0800 |
parents | f1d60c533a9e |
children | 3b62d09a0d55 |
files | src/bitcoinrpc.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1012,7 +1012,7 @@ if (!fCreated) { if (totalAmount + nFeeRequired > pwalletMain->GetBalance()) - throw JSONRPCError(-6, "Insufficient funds"); + throw JSONRPCError(-6, "Account has insufficient funds"); throw JSONRPCError(-4, "Transaction creation failed"); } if (!pwalletMain->CommitTransaction(wtx, keyChange))