mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-29 00:04:40 +00:00
Merge pull request #1660 from fanquake/master
Change this error message to be similar to the others
This commit is contained in:
commit
c995995eb8
@ -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…
x
Reference in New Issue
Block a user