File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -1393,14 +1393,16 @@ impl ChannelManager {
1393
1393
match handle_error ! ( self , err) {
1394
1394
Ok ( _) => unreachable ! ( ) ,
1395
1395
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
+ } ,
1404
1406
}
1405
1407
continue ;
1406
1408
} ,
You can’t perform that action at this time.
0 commit comments