Skip to content

Commit d079767

Browse files
committed
f correct test comment
1 parent ec12549 commit d079767

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/monitor_tests.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,8 @@ fn do_test_revoked_counterparty_commitment_balances(confirm_htlc_spend_first: bo
845845

846846
mine_transaction(&nodes[1], &as_revoked_txn[0]);
847847
let mut claim_txn: Vec<_> = nodes[1].tx_broadcaster.txn_broadcasted.lock().unwrap().drain(..).filter(|tx| tx.input.iter().any(|inp| inp.previous_output.txid == as_revoked_txn[0].txid())).collect();
848-
// Currently the revoked commitment is claimed in four transactions, this should likely be changed.
848+
// Currently the revoked commitment is claimed in four transactions as the HTLCs all expire
849+
// quite soon.
849850
assert_eq!(claim_txn.len(), 4);
850851
claim_txn.sort_unstable_by_key(|tx| tx.output.iter().map(|output| output.value).sum::<u64>());
851852

0 commit comments

Comments
 (0)