unit test: clarify unstated assumption for calc_feerate_diagram_rbf chunking

This commit is contained in:
Greg Sanders 2024-03-25 12:09:47 -04:00
parent 890cb015f3
commit a0376e1061
1 changed files with 2 additions and 1 deletions

View File

@ -416,7 +416,8 @@ BOOST_FIXTURE_TEST_CASE(calc_feerate_diagram_rbf, TestChain100Setup)
const CAmount normal_fee{CENT/10};
const CAmount high_fee{CENT};
// low -> high -> medium fee transactions that would result in two chunks together
// low -> high -> medium fee transactions that would result in two chunks together since they
// are all same size
const auto low_tx = make_tx(/*inputs=*/ {m_coinbase_txns[0]}, /*output_values=*/ {10 * COIN});
pool.addUnchecked(entry.Fee(low_fee).FromTx(low_tx));