diff options
author | kevkevin <oapallikunnel@gmail.com> | 2023-11-06 20:39:03 -0600 |
---|---|---|
committer | kevkevin <oapallikunnel@gmail.com> | 2023-11-08 14:45:18 -0600 |
commit | b4b01d3fb42e7b688d97b75f57cfe18cfca6d943 (patch) | |
tree | 592cbba9e7b1daba693d931b01da24164483ac1f /src/test | |
parent | 83933eff00335415477f969147ab321824dcc4e8 (diff) | |
download | bitcoin-b4b01d3fb42e7b688d97b75f57cfe18cfca6d943.tar.xz |
[refactor] updating miniminer comments to be more accurate
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/miniminer_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/miniminer_tests.cpp b/src/test/miniminer_tests.cpp index 036d3b5d5d..2531ea7c47 100644 --- a/src/test/miniminer_tests.cpp +++ b/src/test/miniminer_tests.cpp @@ -646,7 +646,7 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup) CTxMemPool& pool = *Assert(m_node.mempool); LOCK2(cs_main, pool.cs); { - // 3 pairs of fee-bumping grandparent + parent, plus 1 low-feerate child. + // 3 pairs of grandparent + fee-bumping parent, plus 1 low-feerate child. // 0 fee + high fee auto grandparent_zero_fee = make_tx({{m_coinbase_txns.at(0)->GetHash(), 0}}, 1); auto parent_high_feerate = make_tx({{grandparent_zero_fee->GetHash(), 0}}, 1); @@ -692,7 +692,7 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup) BOOST_CHECK_EQUAL(sequences.at(grandparent_double_low_feerate->GetHash()), 1); BOOST_CHECK_EQUAL(sequences.at(parent_med_feerate->GetHash()), 1); - // CPFP low + med + // CPFP low + double low BOOST_CHECK_EQUAL(sequences.at(grandparent_low_feerate->GetHash()), 2); BOOST_CHECK_EQUAL(sequences.at(parent_double_low_feerate->GetHash()), 2); |