Merge 62cb4009c2 into merged_master (Bitcoin PR bitcoin/bitcoin#22215)

This commit is contained in:
James Dorfman 2023-04-10 02:27:52 +00:00
commit 640ebd5e5a
2 changed files with 5 additions and 1 deletions

View file

@ -334,6 +334,7 @@ bool FillBlock(const CBlockIndex* index, const FoundBlock& block, UniqueLock<Rec
REVERSE_LOCK(lock);
if (!ReadBlockFromDisk(*block.m_data, index, Params().GetConsensus())) block.m_data->SetNull();
}
block.found = true;
return true;
}