mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Make this error message similar to the others
This commit is contained in:
parent
dd199d0ebd
commit
dc1e5ad191
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue