build: fix issues from ASAN in CI

This commit is contained in:
Byron Hambly 2023-09-01 17:17:44 +02:00
parent 3911e7e2b3
commit 591749d9f1
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697
2 changed files with 2 additions and 2 deletions

View file

@ -798,7 +798,7 @@ bool ReadBlockFromDisk(CBlock& block, const CBlockIndex* pindex, const Consensus
}
if (block.GetHash() != pindex->GetBlockHash()) {
return error("ReadBlockFromDisk(CBlock&, CBlockIndex*): GetHash() doesn't match index for %s at %s",
pindex->ToString(), pindex->GetBlockPos().ToString());
pindex->ToString(), block_pos.ToString());
}
return true;
}