validation: Remove global LookupBlockIndex

This commit is contained in:
Carl Dong
2020-10-26 15:27:24 -04:00
parent eae54e6e60
commit 3664a150ac
2 changed files with 0 additions and 7 deletions

View File

@@ -167,11 +167,6 @@ namespace {
std::set<int> setDirtyFileInfo;
} // anon namespace
CBlockIndex* LookupBlockIndex(const uint256& hash)
{
return g_chainman.m_blockman.LookupBlockIndex(hash);
}
CBlockIndex* BlockManager::LookupBlockIndex(const uint256& hash)
{
AssertLockHeld(cs_main);