};
// Because we have exclusive ownership of the channel here we can release the channel_state
// lock before add_monitor
};
// Because we have exclusive ownership of the channel here we can release the channel_state
// lock before add_monitor
match e {
ChannelMonitorUpdateErr::PermanentFailure => {
match handle_error!(self, Err(MsgHandleErrInternal::from_finish_shutdown("ChannelMonitor storage failure", *temporary_channel_id, chan.force_shutdown(true), None)), chan.get_their_node_id()) {
match e {
ChannelMonitorUpdateErr::PermanentFailure => {
match handle_error!(self, Err(MsgHandleErrInternal::from_finish_shutdown("ChannelMonitor storage failure", *temporary_channel_id, chan.force_shutdown(true), None)), chan.get_their_node_id()) {
};
// Because we have exclusive ownership of the channel here we can release the channel_state
// lock before add_monitor
};
// Because we have exclusive ownership of the channel here we can release the channel_state
// lock before add_monitor
match e {
ChannelMonitorUpdateErr::PermanentFailure => {
// Note that we reply with the new channel_id in error messages if we gave up on the
match e {
ChannelMonitorUpdateErr::PermanentFailure => {
// Note that we reply with the new channel_id in error messages if we gave up on the