From 04ee9486434f23ab73d60f5be06bfea426db0060 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Tue, 28 Feb 2023 10:45:49 -0800 Subject: [PATCH] Remove unused broadcast_latest_holder_commitment_txn method --- lightning/src/chain/channelmonitor.rs | 11 ----------- 1 file changed, 11 deletions(-) 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. /// -- 2.39.5