Skip to content

Commit a0376e1

Browse files
committed
unit test: clarify unstated assumption for calc_feerate_diagram_rbf chunking
1 parent 890cb01 commit a0376e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/rbf_tests.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,8 @@ BOOST_FIXTURE_TEST_CASE(calc_feerate_diagram_rbf, TestChain100Setup)
416416
const CAmount normal_fee{CENT/10};
417417
const CAmount high_fee{CENT};
418418

419-
// low -> high -> medium fee transactions that would result in two chunks together
419+
// low -> high -> medium fee transactions that would result in two chunks together since they
420+
// are all same size
420421
const auto low_tx = make_tx(/*inputs=*/ {m_coinbase_txns[0]}, /*output_values=*/ {10 * COIN});
421422
pool.addUnchecked(entry.Fee(low_fee).FromTx(low_tx));
422423

0 commit comments

Comments
 (0)