Skip to content

Commit b14a8fb

Browse files
committed
f tweak comment for readability
1 parent eb09bcd commit b14a8fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/monitor_tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -849,10 +849,10 @@ fn test_no_preimage_inbound_htlc_balances() {
849849
assert_eq!(bs_pre_spend_claims,
850850
sorted_vec(nodes[1].chain_monitor.chain_monitor.get_monitor(funding_outpoint).unwrap().get_claimable_balances()));
851851

852-
// If we get one block prior to the HTLC expiring, we'll broadcast the HTLC-timeout transaction
853-
// (as it is confirmable in the next block), but will still include the same claimable
854-
// balances as no HTLC has been spent, even after the HTLC expires. We'll also fail the inbound
855-
// HTLC, but it won't do anything as the channel is already closed.
852+
// We'll broadcast the HTLC-Timeout transaction one block prior to the htlc's expiration (as it
853+
// is confirmable in the next block), but will still include the same claimable balances as no
854+
// HTLC has been spent, even after the HTLC expires. We'll also fail the inbound HTLC, but it
855+
// won't do anything as the channel is already closed.
856856

857857
connect_blocks(&nodes[0], TEST_FINAL_CLTV - 1);
858858
let as_htlc_timeout_claim = nodes[0].tx_broadcaster.txn_broadcasted.lock().unwrap().split_off(0);

0 commit comments

Comments
 (0)