mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add SHAMap::iterator
This commit is contained in:
committed by
Nik Bougalis
parent
eb709f415b
commit
c53b9f3713
@@ -1857,8 +1857,7 @@ void applyTransactions (std::shared_ptr<SHAMap> const& set,
|
||||
|
||||
if (set)
|
||||
{
|
||||
for (std::shared_ptr<SHAMapItem> item = set->peekFirstItem (); !!item;
|
||||
item = set->peekNextItem (item->getTag ()))
|
||||
for (auto const item : *set)
|
||||
{
|
||||
// If the checkLedger doesn't have the transaction
|
||||
if (!checkLedger->hasTransaction (item->getTag ()))
|
||||
|
||||
Reference in New Issue
Block a user