diff options
-rw-r--r-- | src/validation.cpp | 5 | ||||
-rw-r--r-- | src/validation.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index f441fb7163..cabceca91b 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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); diff --git a/src/validation.h b/src/validation.h index 1c3852d158..e829c0c1c5 100644 --- a/src/validation.h +++ b/src/validation.h @@ -311,8 +311,6 @@ public: bool VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview, int nCheckLevel, int nCheckDepth); }; -CBlockIndex* LookupBlockIndex(const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main); - /** Find the last common block between the parameter chain and a locator. */ CBlockIndex* FindForkInGlobalIndex(const CChain& chain, const CBlockLocator& locator) EXCLUSIVE_LOCKS_REQUIRED(cs_main); |