From e6d8f350fc5a725c74df2f2b09b375b5ab1edf7b Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Sun, 26 Nov 2023 10:55:27 -0500 Subject: [PATCH] Remove unused handle_error macro rule --- lightning/src/ln/channelmanager.rs | 9 --------- 1 file changed, 9 deletions(-) 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 { -- 2.39.5