From: Matt Corallo Date: Tue, 7 May 2024 15:56:45 +0000 (+0000) Subject: Merge pull request #3045 from TheBlueMatt/2024-03-fees-are-dust X-Git-Tag: v0.0.123-rc1~1^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=5cb2089b136291d08e2938f0c5281d1666a2d8a5;p=rust-lightning Merge pull request #3045 from TheBlueMatt/2024-03-fees-are-dust Include excess counterparty commitment transaction fees in dust exposure --- 5cb2089b136291d08e2938f0c5281d1666a2d8a5 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;