mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
validation: Pass in chainman to UnloadBlockIndex
This commit is contained in:
parent
4668ded6d6
commit
74f73c783d
5 changed files with 10 additions and 7 deletions
|
|
@ -187,7 +187,7 @@ TestingSetup::~TestingSetup()
|
|||
m_node.connman.reset();
|
||||
m_node.banman.reset();
|
||||
m_node.args = nullptr;
|
||||
UnloadBlockIndex(m_node.mempool.get());
|
||||
UnloadBlockIndex(m_node.mempool.get(), *m_node.chainman);
|
||||
m_node.mempool.reset();
|
||||
m_node.scheduler.reset();
|
||||
m_node.chainman->Reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue