diff options
author | Carl Dong <contact@carldong.me> | 2020-08-25 15:23:57 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2020-09-15 14:11:34 -0400 |
commit | 74f73c783d46b012f375d819e2cd09c792820cd5 (patch) | |
tree | 9c351abe4519267e6c57ce65b195b819e2ca3e2e /src/test/util/setup_common.cpp | |
parent | 4668ded6d6ea4299d998abbb57543f37519812e2 (diff) | |
download | bitcoin-74f73c783d46b012f375d819e2cd09c792820cd5.tar.xz |
validation: Pass in chainman to UnloadBlockIndex
Diffstat (limited to 'src/test/util/setup_common.cpp')
-rw-r--r-- | src/test/util/setup_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 08aff07448..2d3137e1e2 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -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(); |