diff --git a/src/test/app/SHAMapStore_test.cpp b/src/test/app/SHAMapStore_test.cpp index 6815e8a989..6a038121b5 100644 --- a/src/test/app/SHAMapStore_test.cpp +++ b/src/test/app/SHAMapStore_test.cpp @@ -657,16 +657,7 @@ public: Env env{*this, envconfig(onlineDelete)}; - auto& ns = env.app().getNodeStore(); std::map hashes; - auto storeHash = [&]() { - hashes.emplace( - env.current()->info().seq, env.current()->info().hash); - - auto const& root = - ns.fetchNodeObject(hashes[env.current()->info().seq]); - BEAST_EXPECT(root); - }; auto failureMessage = [&](char const* label, auto expected,