Deprecated -> Unsupported in RPC error

This commit is contained in:
Jack Grigg
2016-10-10 10:27:12 -05:00
parent b6f100cf86
commit 7b3351ff0e
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ string AccountFromValue(const Value& value)
{
string strAccount = value.get_str();
if (strAccount != "")
throw JSONRPCError(RPC_WALLET_ACCOUNTS_DEPRECATED, "Accounts are deprecated");
throw JSONRPCError(RPC_WALLET_ACCOUNTS_UNSUPPORTED, "Accounts are unsupported");
return strAccount;
}