From: Jeffrey Czyz Date: Sun, 26 Nov 2023 15:55:27 +0000 (-0500) Subject: Remove unused handle_error macro rule X-Git-Tag: v0.0.119~35^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e6d8f350fc5a725c74df2f2b09b375b5ab1edf7b;p=rust-lightning Remove unused handle_error macro rule --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 48c906a33..73f1391d5 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -1942,15 +1942,6 @@ macro_rules! handle_error { }, } } }; - ($self: ident, $internal: expr) => { - match $internal { - Ok(res) => Ok(res), - Err((chan, msg_handle_err)) => { - let counterparty_node_id = chan.get_counterparty_node_id(); - handle_error!($self, Err(msg_handle_err), counterparty_node_id).map_err(|err| (chan, err)) - }, - } - }; } macro_rules! update_maps_on_chan_removal {