diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-08-12 21:35:39 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-08-12 21:35:39 +0200 |
commit | c23b6fd6887707c18d8a8e9c82047413d038b4b6 (patch) | |
tree | fe25864f2aca36e44e7fc73cf2914f75c645a812 /src | |
parent | 198947c19fe1452cbef3265c280cd96afa084012 (diff) |
Revert "Make this error message similar to the others"
This reverts commit dc1e5ad1917bb353aee7ef24aabf13ae3fe2fb80.
The new error message was not correct, as it refers to the total balance, not an account.
Diffstat (limited to 'src')
-rw-r--r-- | src/bitcoinrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 23ec4ffffc..2e3f8a8e5b 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, "Account has insufficient funds"); + throw JSONRPCError(-6, "Insufficient funds"); throw JSONRPCError(-4, "Transaction creation failed"); } if (!pwalletMain->CommitTransaction(wtx, keyChange)) |