Fix object crc32c calculation

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 2b8a9e3f90
commit 94f3634602
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -640,7 +640,7 @@ void test_corruption()
// reload heap with corruption
{
blockstore_heap_t heap(&dsk, buffer_area.data());
heap.set_abort_on_corruption(true);
heap.set_abort_on_corruption(false);
tmp.data()[10]++; // corrupt the first object
heap.load_blocks(0, dsk.meta_block_size, tmp.data());
heap.finish_load();