Skip to content

Commit e3c1a7d

Browse files
committed
Add check to collated data builder
1 parent 6308fb7 commit e3c1a7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crypto/vm/boc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,7 @@ std::vector<Ref<Cell>> ProofStorageStat::build_collated_data(std::vector<Ref<Cel
13691369
}
13701370
Cache& entry2 = cache[hash];
13711371
entry2.result = cb.finalize(info.cell->is_special());
1372+
CHECK(entry2.result->get_hash(std::min<int>(info.cell->get_level(), info.cell_max_level)) == hash);
13721373
return entry2;
13731374
};
13741375
for (auto& [hash, info] : cells_) {

0 commit comments

Comments
 (0)