Revert account store iterator in bootstrap_server (#4688)
This commit is contained in:
parent
bbe6110597
commit
b57e93c5f6
1 changed files with 1 additions and 2 deletions
|
|
@ -395,8 +395,7 @@ nano::asc_pull_ack nano::bootstrap_server::process (secure::transaction const &
|
|||
response.type = nano::asc_pull_type::frontiers;
|
||||
|
||||
nano::asc_pull_ack::frontiers_payload response_payload{};
|
||||
|
||||
for (auto it = ledger.any.account_lower_bound (transaction, request.start), end = ledger.any.account_end (); it != end && response_payload.frontiers.size () < request.count; ++it)
|
||||
for (auto it = store.account.begin (transaction, request.start), end = store.account.end (); it != end && response_payload.frontiers.size () < request.count; ++it)
|
||||
{
|
||||
response_payload.frontiers.emplace_back (it->first, it->second.head);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue