Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 committed Jan 14, 2024
1 parent 22922a7 commit c82992d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/impl/liteserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ void LiteQuery::continue_getLibrariesWithProof(std::vector<td::Bits256> library_
// include first 16 publishers in the proof
auto publishers_dict = vm::Dictionary{vm::DictNonEmpty(), libdescr.publishers, 256};
auto iter = publishers_dict.begin();
int max_publishers = 15; // set to 15 because publishers_dict.begin() counts as the first visit
constexpr int max_publishers = 15; // set to 15 because publishers_dict.begin() counts as the first visit
for (int i = 0; i < max_publishers && iter != publishers_dict.end(); ++i, ++iter) {}
}
result.push_back(ton::create_tl_object<ton::lite_api::liteServer_libraryEntry>(hash, data.move_as_ok()));
Expand Down

0 comments on commit c82992d

Please sign in to comment.