mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 16:05:51 +00:00
Handle account_objects empty response (RIPD-958)
This commit is contained in:
committed by
Nik Bougalis
parent
3fa2028eb2
commit
754dea8d47
@@ -137,7 +137,7 @@ Json::Value doAccountObjects (RPC::Context& context)
|
|||||||
if (! RPC::getAccountObjects (*ledger, accountID, type,
|
if (! RPC::getAccountObjects (*ledger, accountID, type,
|
||||||
dirIndex, entryIndex, limit, result))
|
dirIndex, entryIndex, limit, result))
|
||||||
{
|
{
|
||||||
return RPC::invalid_field_error (jss::marker);
|
result[jss::account_objects] = Json::arrayValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
result[jss::account] = context.app.accountIDCache().toBase58 (accountID);
|
result[jss::account] = context.app.accountIDCache().toBase58 (accountID);
|
||||||
|
|||||||
Reference in New Issue
Block a user