瀏覽代碼

Bugfix: ensure consistency of m_failed_blocks after reconsiderblock

Github-Pull: #13199
Rebased-From: 11fa6bb66e
tags/v0.16.1
Suhas Daftuar 2 年之前
父節點
當前提交
c71e535aec
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/validation.cpp

+ 1
- 0
src/validation.cpp 查看文件

@@ -2764,6 +2764,7 @@ bool CChainState::ResetBlockFailureFlags(CBlockIndex *pindex) {
if (pindex->nStatus & BLOCK_FAILED_MASK) {
pindex->nStatus &= ~BLOCK_FAILED_MASK;
setDirtyBlockIndex.insert(pindex);
g_failed_blocks.erase(pindex);
}
pindex = pindex->pprev;
}

Loading…
取消
儲存