Return the account checked if account_info finds no account.

This commit is contained in:
David Schwartz
2013-10-03 16:53:56 -07:00
parent 647c0e302a
commit 9b3c74a095

View File

@@ -616,7 +616,8 @@ Json::Value RPCHandler::doAccountInfo (Json::Value params, LoadType* loadType, A
}
else
{
jvResult = rpcError (rpcACT_NOT_FOUND);
jvResult["account"] = naAccount.humanAccountID ();
jvResult = rpcError (rpcACT_NOT_FOUND, jvResult);
}
return jvResult;