mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Remove unused handle_error macro rule
This commit is contained in:
parent
df3ab2ee27
commit
e6d8f350fc
1 changed files with 0 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue