From: Wilmer Paulino Date: Tue, 28 Feb 2023 18:45:49 +0000 (-0800) Subject: Remove unused broadcast_latest_holder_commitment_txn method X-Git-Tag: v0.0.115~46^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=04ee9486434f23ab73d60f5be06bfea426db0060;p=rust-lightning Remove unused broadcast_latest_holder_commitment_txn method --- diff --git a/lightning/src/chain/channelmonitor.rs b/lightning/src/chain/channelmonitor.rs index 97e1e8ee6..4e6c67982 100644 --- a/lightning/src/chain/channelmonitor.rs +++ b/lightning/src/chain/channelmonitor.rs @@ -1202,17 +1202,6 @@ impl ChannelMonitor { payment_hash, payment_preimage, broadcaster, fee_estimator, logger) } - pub(crate) fn broadcast_latest_holder_commitment_txn( - &self, - broadcaster: &B, - logger: &L, - ) where - B::Target: BroadcasterInterface, - L::Target: Logger, - { - self.inner.lock().unwrap().broadcast_latest_holder_commitment_txn(broadcaster, logger); - } - /// Updates a ChannelMonitor on the basis of some new information provided by the Channel /// itself. ///