aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2012-08-07 22:39:19 +0800
committerfanquake <fanquake@gmail.com>2012-08-07 22:39:19 +0800
commitdc1e5ad1917bb353aee7ef24aabf13ae3fe2fb80 (patch)
tree9f732d794b83a82282f5751dafade1478025bdd6 /src
parentdd199d0ebd086262626a5cc0ce794de6a477d731 (diff)
Make this error message similar to the others
Diffstat (limited to 'src')
-rw-r--r--src/bitcoinrpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index 2e3f8a8e5b..23ec4ffffc 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -1012,7 +1012,7 @@ Value sendmany(const Array& params, bool fHelp)
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))