Skip to content

Commit

Permalink
publishers non-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 committed Jan 14, 2024
1 parent 965749b commit 58ed079
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 @@ -979,7 +979,7 @@ void LiteQuery::continue_getLibrariesWithProof(std::vector<td::Bits256> library_
}
if (mode & 1) {
// include first 16 publishers in the proof
auto publishers_dict = vm::Dictionary(libdescr.publishers, 256);
auto publishers_dict = vm::Dictionary{vm::DictNonEmpty(), std::move(libdescr.publishers), 256};
int publishers_max_count = 16;
auto iter = publishers_dict.begin();
while (publishers_max_count-- && iter != publishers_dict.end()) {
Expand Down

0 comments on commit 58ed079

Please sign in to comment.