Pass mempool pointer to UnloadBlockIndex

This commit is contained in:
MarcoFalke
2020-07-19 20:30:18 +02:00
parent faec851b6e
commit fac674db20
5 changed files with 6 additions and 6 deletions

View File

@@ -182,9 +182,9 @@ TestingSetup::~TestingSetup()
m_node.connman.reset();
m_node.banman.reset();
m_node.args = nullptr;
UnloadBlockIndex(m_node.mempool);
m_node.mempool = nullptr;
m_node.scheduler.reset();
UnloadBlockIndex();
m_node.chainman->Reset();
m_node.chainman = nullptr;
pblocktree.reset();