mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge 636991d0c0 into merged_master (Bitcoin PR bitcoin/bitcoin#25264)
This commit is contained in:
commit
ae633bfd3b
3 changed files with 4 additions and 4 deletions
|
|
@ -4597,7 +4597,7 @@ bool ChainstateManager::LoadBlockIndex()
|
|||
// Load block index from databases
|
||||
bool needs_init = fReindex;
|
||||
if (!fReindex) {
|
||||
bool ret = m_blockman.LoadBlockIndexDB();
|
||||
bool ret = m_blockman.LoadBlockIndexDB(GetConsensus());
|
||||
if (!ret) return false;
|
||||
|
||||
std::vector<CBlockIndex*> vSortedByHeight{m_blockman.GetAllBlockIndices()};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue