aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-29 10:30:03 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-29 20:28:47 -0400
commitfa0dfdf447d5b84a1849dc823d8508463600136a (patch)
tree98276aaab436fa0a748d26ab0a9b893b56607b5e /src/validation.cpp
parent8edfc1715a02cbaf52420d3c4e71f67ff9af0b41 (diff)
refactor: Remove confusing BlockIndex global
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index fcaa62c9b2..100171a0fe 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -1321,12 +1321,6 @@ bool CChainState::IsInitialBlockDownload() const
static CBlockIndex *pindexBestForkTip = nullptr, *pindexBestForkBase = nullptr;
-BlockMap& BlockIndex()
-{
- LOCK(::cs_main);
- return g_chainman.m_blockman.m_block_index;
-}
-
static void AlertNotify(const std::string& strMessage)
{
uiInterface.NotifyAlertChanged();