mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
Return the account checked if account_info finds no account.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user