You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let htlc = get_htlc_in_commitment!($htlc, $outbound == local);
4568
+
htlc_source_table.push((htlc, $source));
4593
4569
}
4594
4570
}
4595
4571
@@ -4599,8 +4575,7 @@ where
4599
4575
for htlc in self.pending_inbound_htlcs.iter() {
4600
4576
if htlc.state.included_in_commitment(generated_by_local) {
4601
4577
log_trace!(logger, " ...including inbound {} HTLC {} (hash {}) with value {}", htlc.state, htlc.htlc_id, htlc.payment_hash, htlc.amount_msat);
4602
-
let is_dust = htlc.is_dust(local, feerate_per_kw, broadcaster_dust_limit_sat, funding.get_channel_type());
4603
-
add_htlc_output!(htlc, false, None, is_dust);
4578
+
add_htlc_output!(htlc, false, None);
4604
4579
} else {
4605
4580
log_trace!(logger, " ...not including inbound HTLC {} (hash {}) with value {} due to state ({})", htlc.htlc_id, htlc.payment_hash, htlc.amount_msat, htlc.state);
4606
4581
if let Some(preimage) = htlc.state.preimage() {
@@ -4616,8 +4591,7 @@ where
4616
4591
}
4617
4592
if htlc.state.included_in_commitment(generated_by_local) {
4618
4593
log_trace!(logger, " ...including outbound {} HTLC {} (hash {}) with value {}", htlc.state, htlc.htlc_id, htlc.payment_hash, htlc.amount_msat);
4619
-
let is_dust = htlc.is_dust(local, feerate_per_kw, broadcaster_dust_limit_sat, funding.get_channel_type());
log_trace!(logger, " ...not including outbound HTLC {} (hash {}) with value {} due to state ({})", htlc.htlc_id, htlc.payment_hash, htlc.amount_msat, htlc.state);
0 commit comments