mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 05:55:51 +00:00
Use getSLEi to get an immutable SLE. This lets us cache them.
This commit is contained in:
@@ -538,7 +538,7 @@ Json::Value NetworkOPs::getOwnerInfo(Ledger::pointer lpLedger, const RippleAddre
|
||||
|
||||
BOOST_FOREACH(const uint256& uDirEntry, vuiIndexes)
|
||||
{
|
||||
SLE::pointer sleCur = lpLedger->getSLE(uDirEntry);
|
||||
SLE::pointer sleCur = lpLedger->getSLEi(uDirEntry);
|
||||
|
||||
switch (sleCur->getType())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user