Skip to content

Commit 901fe7b

Browse files
committed
f wrong comment
1 parent a69eaab commit 901fe7b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lightning/src/ln/functional_tests.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -4941,9 +4941,10 @@ fn do_test_static_spendable_outputs_justice_tx_revoked_commitment_tx(split_tx: b
49414941
check_added_monitors!(nodes[1], 1);
49424942
check_closed_event!(nodes[1], 1, ClosureReason::CommitmentTxConfirmed, [nodes[0].node.get_our_node_id()], 100000);
49434943

4944-
// If the HTLC expires within COUNTERPARTY_CLAIMABLE_WITHIN_BLOCKS_PINNABLE, we'll claim both
4945-
// the revoked and HTLC outputs in one transaction, otherwise we'll split them as we consider
4946-
// the HTLC output as pinnable and want to claim pinnable and unpinnable outputs separately.
4944+
// If the HTLC expires in more than COUNTERPARTY_CLAIMABLE_WITHIN_BLOCKS_PINNABLE blocks, we'll
4945+
// claim both the revoked and HTLC outputs in one transaction, otherwise we'll split them as we
4946+
// consider the HTLC output as pinnable and want to claim pinnable and unpinnable outputs
4947+
// separately.
49474948
let node_txn = nodes[1].tx_broadcaster.txn_broadcasted.lock().unwrap().clone();
49484949
assert_eq!(node_txn.len(), if split_tx { 2 } else { 1 });
49494950
for tx in node_txn.iter() {

0 commit comments

Comments
 (0)