refactor: Make error() return type void

This is needed for the next commit to compile.
This commit is contained in:
MarcoFalke committed 2024-03-11 13:49:35 +01:00
1 parent fa1d624348
commit fa808fb749
2 files changed
+3 -3

No files matched your search

+2 -1
View File
@@ -1102,9 +1102,10 @@ bool BlockManager::ReadRawBlockFromDisk(std::vector<uint8_t>& block, const FlatF
filein >> blk_start >> blk_size;
if (blk_start != GetParams().MessageStart()) {
return error("%s: Block magic mismatch for %s: %s versus expected %s", __func__, pos.ToString(),
error("%s: Block magic mismatch for %s: %s versus expected %s", __func__, pos.ToString(),
HexStr(blk_start),
HexStr(GetParams().MessageStart()));
return false;
}
if (blk_size > MAX_SIZE) {