Skip to content

Commit 189ea78

Browse files
committed
Remove unused handle_error macro rule
1 parent 8f6fd1e commit 189ea78

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lightning/src/ln/channelmanager.rs

-9
Original file line numberDiff line numberDiff line change
@@ -1909,15 +1909,6 @@ macro_rules! handle_error {
19091909
},
19101910
}
19111911
} };
1912-
($self: ident, $internal: expr) => {
1913-
match $internal {
1914-
Ok(res) => Ok(res),
1915-
Err((chan, msg_handle_err)) => {
1916-
let counterparty_node_id = chan.get_counterparty_node_id();
1917-
handle_error!($self, Err(msg_handle_err), counterparty_node_id).map_err(|err| (chan, err))
1918-
},
1919-
}
1920-
};
19211912
}
19221913

19231914
macro_rules! update_maps_on_chan_removal {

0 commit comments

Comments
 (0)