mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user