File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments