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_chainstate_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_chainstate_tests.cpp')
-rw-r--r-- | src/test/validation_chainstate_tests.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/validation_chainstate_tests.cpp b/src/test/validation_chainstate_tests.cpp index 1beef5cf04..b0d7389d39 100644 --- a/src/test/validation_chainstate_tests.cpp +++ b/src/test/validation_chainstate_tests.cpp @@ -72,9 +72,6 @@ BOOST_AUTO_TEST_CASE(validation_chainstate_resize_caches) // The view cache should be empty since we had to destruct to downsize. BOOST_CHECK(!c1.CoinsTip().HaveCoinInCache(outpoint)); } - - // Avoid triggering the address sanitizer. - WITH_LOCK(::cs_main, manager.Unload()); } //! Test UpdateTip behavior for both active and background chainstates. |