From: Elias Rohrer Date: Mon, 11 Dec 2023 18:50:27 +0000 (+0100) Subject: Remove unused `chan_id` X-Git-Tag: v0.0.119~14^2~2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=79cff6ce9f7d6c3fac8eba6023ecb2df40c8e303;p=rust-lightning Remove unused `chan_id` --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index be220f824..da95e3b61 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -10495,7 +10495,6 @@ where // 0.0.102+ for (_, monitor) in args.channel_monitors.iter() { let counterparty_opt = id_to_peer.get(&monitor.get_funding_txo().0.to_channel_id()); - let chan_id = monitor.get_funding_txo().0.to_channel_id(); if counterparty_opt.is_none() { let logger = WithChannelMonitor::from(&args.logger, monitor); for (htlc_source, (htlc, _)) in monitor.get_pending_or_resolved_outbound_htlcs() {