File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ namespace {
169
169
std::set<int > setDirtyFileInfo;
170
170
} // anon namespace
171
171
172
- CBlockIndex* BlockManager::LookupBlockIndex (const uint256& hash)
172
+ CBlockIndex* BlockManager::LookupBlockIndex (const uint256& hash) const
173
173
{
174
174
AssertLockHeld (cs_main);
175
175
assert (std::addressof (g_chainman.BlockIndex ()) == std::addressof (m_block_index));
Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ class BlockManager
457
457
const CChainParams& chainparams,
458
458
CBlockIndex** ppindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
459
459
460
- CBlockIndex* LookupBlockIndex (const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
460
+ CBlockIndex* LookupBlockIndex (const uint256& hash) const EXCLUSIVE_LOCKS_REQUIRED(cs_main);
461
461
462
462
/* * Find the last common block between the parameter chain and a locator. */
463
463
CBlockIndex* FindForkInGlobalIndex (const CChain& chain, const CBlockLocator& locator) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
You can’t perform that action at this time.
0 commit comments