From e550945a3941e31c8a31983fdce29c11e584bea1 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Thu, 6 Aug 2026 14:17:50 +0100 Subject: [PATCH] test, refactor: Remove unused `removed_refs` in `txgraph_tests.cpp` This has been unused since it was introduced in 938e86f8fecd65ca90b97e6cf896f8c59fb590ba. --- src/test/txgraph_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/txgraph_tests.cpp b/src/test/txgraph_tests.cpp index 444e2185f36..d29eb725a9e 100644 --- a/src/test/txgraph_tests.cpp +++ b/src/test/txgraph_tests.cpp @@ -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));