Skip to content

Commit e6d8f35

Browse files
committed
Remove unused handle_error macro rule
1 parent df3ab2e commit e6d8f35

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
@@ -1942,15 +1942,6 @@ macro_rules! handle_error {
19421942
},
19431943
}
19441944
} };
1945-
($self: ident, $internal: expr) => {
1946-
match $internal {
1947-
Ok(res) => Ok(res),
1948-
Err((chan, msg_handle_err)) => {
1949-
let counterparty_node_id = chan.get_counterparty_node_id();
1950-
handle_error!($self, Err(msg_handle_err), counterparty_node_id).map_err(|err| (chan, err))
1951-
},
1952-
}
1953-
};
19541945
}
19551946

19561947
macro_rules! update_maps_on_chan_removal {

0 commit comments

Comments
 (0)