test, refactor: Remove unused removed_refs in txgraph_tests.cpp

This has been unused since it was introduced in
938e86f8fe.
This commit is contained in:
Hennadii Stepanov
2026-08-06 14:17:50 +01:00
parent e50f422d25
commit e550945a39

View File

@@ -290,7 +290,7 @@ BOOST_AUTO_TEST_CASE(txgraph_trim_big_singletons)
BOOST_CHECK(graph->IsOversized(TxGraph::Level::TOP));
// Call Trim() to remove transactions and bring the cluster back within limits.
auto removed_refs = graph->Trim();
graph->Trim();
graph->SanityCheck();
BOOST_CHECK_EQUAL(graph->GetTransactionCount(TxGraph::Level::TOP), NUM_TOTAL_TX - 6);
BOOST_CHECK(!graph->IsOversized(TxGraph::Level::TOP));