mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix RPC wallet_accounts.
This commit is contained in:
@@ -945,7 +945,11 @@ Json::Value RPCServer::accounts(const uint256& uLedger, const NewcoinAddress& na
|
||||
AccountState::pointer as = mNetOps->getAccountState(uLedger, naAccount);
|
||||
if (as)
|
||||
{
|
||||
as->addJson(jsonAccounts);
|
||||
Json::Value jsonAccount(Json::objectValue);
|
||||
|
||||
as->addJson(jsonAccount);
|
||||
|
||||
jsonAccounts[naAccount.humanAccountID()] = jsonAccount;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user