mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make this code easier to debug.
This commit is contained in:
@@ -49,4 +49,12 @@ void AccountItems::fillItems(const uint160& accountID, Ledger::ref ledger)
|
||||
}
|
||||
}
|
||||
|
||||
Json::Value AccountItems::getJson(int v)
|
||||
{
|
||||
Json::Value ret(Json::arrayValue);
|
||||
BOOST_FOREACH(AccountItem::ref ai, mItems)
|
||||
ret.append(ai->getJson(v));
|
||||
return ret;
|
||||
}
|
||||
|
||||
// vim:ts=4
|
||||
|
||||
Reference in New Issue
Block a user