Skip to content

Commit

Permalink
Fix test/miniminer_tests.cpp file
Browse files Browse the repository at this point in the history
  • Loading branch information
janus committed Apr 18, 2024
1 parent a354633 commit d1fed95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/miniminer_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ BOOST_FIXTURE_TEST_CASE(miniminer_overlap, TestChain100Setup)
BOOST_CHECK(miniminer_pool.IsReadyToCalculate());
for (const auto& sequences : {miniminer_manual.Linearize(), miniminer_pool.Linearize()}) {
// tx2 and tx4 selected first: high feerate with nothing to bump
BOOST_CHECK_EQUAL(Find(sequences, tx4->GetHash()), 0);
BOOST_CHECK_EQUAL(Find(sequences, tx2->GetHash()), 1);
BOOST_CHECK_EQUAL(Find(sequences, tx4->GetHash()), 1); //The selected first is at index 1(BGL)
BOOST_CHECK_EQUAL(Find(sequences, tx2->GetHash()), 0); //The selected first is at index 0(BGL)

// tx5 + tx7 CPFP
BOOST_CHECK_EQUAL(Find(sequences, tx5->GetHash()), 2);
Expand Down

0 comments on commit d1fed95

Please sign in to comment.