Skip to content

Commit

Permalink
Remove unused broadcast_latest_holder_commitment_txn method
Browse files Browse the repository at this point in the history
  • Loading branch information
wpaulino committed Feb 28, 2023
1 parent 60fea3c commit ce63b08
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lightning/src/chain/channelmonitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1196,17 +1196,6 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
payment_hash, payment_preimage, broadcaster, fee_estimator, logger)
}

pub(crate) fn broadcast_latest_holder_commitment_txn<B: Deref, L: Deref>(
&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.
///
Expand Down

0 comments on commit ce63b08

Please sign in to comment.