Skip to content

Commit 2118feb

Browse files
committed
Fix build broken by silent merge conflicts
1 parent 148c797 commit 2118feb

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/ln/channelmanager.rs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,14 +1393,16 @@ impl ChannelManager {
13931393
match handle_error!(self, err) {
13941394
Ok(_) => unreachable!(),
13951395
Err(e) => {
1396-
if let Some(msgs::ErrorAction::IgnoreError) = e.action {
1397-
} else {
1398-
log_error!(self, "Got bad keys: {}!", e.err);
1399-
let mut channel_state = self.channel_state.lock().unwrap();
1400-
channel_state.pending_msg_events.push(events::MessageSendEvent::HandleError {
1401-
node_id: their_node_id,
1402-
action: e.action,
1403-
});
1396+
match e.action {
1397+
msgs::ErrorAction::IgnoreError => {},
1398+
_ => {
1399+
log_error!(self, "Got bad keys: {}!", e.err);
1400+
let mut channel_state = self.channel_state.lock().unwrap();
1401+
channel_state.pending_msg_events.push(events::MessageSendEvent::HandleError {
1402+
node_id: their_node_id,
1403+
action: e.action,
1404+
});
1405+
},
14041406
}
14051407
continue;
14061408
},

0 commit comments

Comments
 (0)