diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-07-01 10:24:58 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-07-15 13:54:09 +0200 |
commit | faa54e375782b21cbc2761c763128131c569e903 (patch) | |
tree | e85e2453bcf35354ad3e672d8411f3a2c6ea9c3e /src/index/txindex.cpp | |
parent | fa27f03b4943540aa2eab283d4cf50ad4a1a01f8 (diff) |
Move pblocktree global to BlockManager
Diffstat (limited to 'src/index/txindex.cpp')
-rw-r--r-- | src/index/txindex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/txindex.cpp b/src/index/txindex.cpp index 782e557478..cde9821f3d 100644 --- a/src/index/txindex.cpp +++ b/src/index/txindex.cpp @@ -204,7 +204,7 @@ bool TxIndex::Init() // Attempt to migrate txindex from the old database to the new one. Even if // chain_tip is null, the node could be reindexing and we still want to // delete txindex records in the old database. - if (!m_db->MigrateData(*pblocktree, m_chainstate->m_chain.GetLocator())) { + if (!m_db->MigrateData(*m_chainstate->m_blockman.m_block_tree_db, m_chainstate->m_chain.GetLocator())) { return false; } |