mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge d23cdf659e into merged_master (Bitcoin PR bitcoin/bitcoin#27905)
This commit is contained in:
commit
ca48c69a5e
1 changed files with 1 additions and 0 deletions
|
|
@ -3234,6 +3234,7 @@ CBlockIndex* Chainstate::FindMostWorkChain()
|
|||
while (pindexTest != pindexFailed) {
|
||||
if (fFailedChain) {
|
||||
pindexFailed->nStatus |= BLOCK_FAILED_CHILD;
|
||||
m_blockman.m_dirty_blockindex.insert(pindexFailed);
|
||||
} else if (fMissingData) {
|
||||
// If we're missing data, then add back to m_blocks_unlinked,
|
||||
// so that if the block arrives in the future we can try adding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue