From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Tue, 7 May 2024 15:50:46 +0000 (-0700) Subject: Merge pull request #3045 from TheBlueMatt/2024-03-fees-are-dust X-Git-Tag: v0.0.124-beta~131 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d1ac0717fe832bc8f439ad75c30dfe2e2012bfb3;p=rust-lightning Merge pull request #3045 from TheBlueMatt/2024-03-fees-are-dust Include excess counterparty commitment transaction fees in dust exposure --- d1ac0717fe832bc8f439ad75c30dfe2e2012bfb3 diff --cc lightning/src/ln/monitor_tests.rs index 52bda8185,83d22c4de..761d4b531 --- a/lightning/src/ln/monitor_tests.rs +++ b/lightning/src/ln/monitor_tests.rs @@@ -15,11 -15,9 +15,10 @@@ use crate::chain::transaction::OutPoint use crate::chain::chaininterface::{LowerBoundedFeeEstimator, compute_feerate_sat_per_1000_weight}; use crate::events::bump_transaction::{BumpTransactionEvent, WalletSource}; use crate::events::{Event, MessageSendEvent, MessageSendEventsProvider, ClosureReason, HTLCDestination}; -use crate::ln::{channel, ChannelId}; +use crate::ln::channel; +use crate::ln::types::ChannelId; use crate::ln::channelmanager::{BREAKDOWN_TIMEOUT, PaymentId, RecipientOnionFields}; use crate::ln::msgs::ChannelMessageHandler; - use crate::util::config::UserConfig; use crate::crypto::utils::sign; use crate::util::ser::Writeable; use crate::util::scid_utils::block_from_scid;