diff options
author | Carl Dong <contact@carldong.me> | 2021-07-12 15:09:26 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-02-22 11:56:49 -0500 |
commit | 531dce034718523967808a89c18ba69a1e3e5a1f (patch) | |
tree | 3241dde07772ce96fa0a0512bc5ebb870fb6068d /src/test/validation_chainstatemanager_tests.cpp | |
parent | bec86ae32683ac56b4e6ba9c9b7d21cfbdf4ac03 (diff) | |
download | bitcoin-531dce034718523967808a89c18ba69a1e3e5a1f.tar.xz |
tests: Remove now-unnecessary manual Unload's
These manual calls to Unload() are no longer necessary because
CBlockIndex's no longer live in the heap as of the previous commit.
Diffstat (limited to 'src/test/validation_chainstatemanager_tests.cpp')
-rw-r--r-- | src/test/validation_chainstatemanager_tests.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/validation_chainstatemanager_tests.cpp b/src/test/validation_chainstatemanager_tests.cpp index 26392e690d..5d0ec593e3 100644 --- a/src/test/validation_chainstatemanager_tests.cpp +++ b/src/test/validation_chainstatemanager_tests.cpp @@ -99,8 +99,6 @@ BOOST_AUTO_TEST_CASE(chainstatemanager) // Let scheduler events finish running to avoid accessing memory that is going to be unloaded SyncWithValidationInterfaceQueue(); - - WITH_LOCK(::cs_main, manager.Unload()); } //! Test rebalancing the caches associated with each chainstate. |