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
If there are any pending splices when an update_fee message is received,
it must be validated against each pending FundingScope.
Otherwise, it may be invalid once the splice is locked.
// Check that we won't be pushed over our dust exposure limit by the feerate increase.
7045
7063
let dust_exposure_limiting_feerate = self.context.get_dust_exposure_limiting_feerate(&fee_estimator);
7046
-
let htlc_stats = self.context.get_pending_htlc_stats(&self.funding, None, dust_exposure_limiting_feerate);
7064
+
let htlc_stats = self.context.get_pending_htlc_stats(funding, None, dust_exposure_limiting_feerate);
7047
7065
let max_dust_htlc_exposure_msat = self.context.get_max_dust_htlc_exposure_msat(dust_exposure_limiting_feerate);
7048
7066
if htlc_stats.on_holder_tx_dust_exposure_msat > max_dust_htlc_exposure_msat {
7049
7067
return Err(ChannelError::close(format!("Peer sent update_fee with a feerate ({}) which may over-expose us to dust-in-flight on our own transactions (totaling {} msat)",
0 commit comments