mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
refactor: Remove confusing BlockIndex global
This commit is contained in:
parent
8edfc1715a
commit
fa0dfdf447
5 changed files with 22 additions and 32 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue