mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 18:22:57 +02:00
refactor: inline constant return value of BlockTreeDB::WriteBatchSync and BlockManager::WriteBlockIndexDB and BlockTreeDB::WriteFlag
This commit is contained in:
@@ -89,7 +89,7 @@ FUZZ_TARGET(block_index, .init = init_block_index)
|
||||
}
|
||||
|
||||
// Store these files and blocks in the block index. It should not fail.
|
||||
assert(block_index.WriteBatchSync(files_info, files_count - 1, blocks_info));
|
||||
block_index.WriteBatchSync(files_info, files_count - 1, blocks_info);
|
||||
|
||||
// We should be able to read every block file info we stored. Its value should correspond to
|
||||
// what we stored above.
|
||||
|
||||
Reference in New Issue
Block a user