From dc1e5ad1917bb353aee7ef24aabf13ae3fe2fb80 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 7 Aug 2012 22:39:19 +0800 Subject: [PATCH] Make this error message similar to the others --- src/bitcoinrpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 2e3f8a8e5b7..23ec4ffffc9 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))