File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -2227,19 +2227,13 @@ where
22272227 MessageBatchImpl :: CommitmentSigned ( messages)
22282228 } ,
22292229 _ => {
2230- let error = format ! (
2231- "Peer {} sent start_batch for channel {} without a known message type" ,
2230+ log_debug ! (
2231+ logger,
2232+ "Peer {} sent start_batch for channel {} without a known message type; ignoring" ,
22322233 log_pubkey!( their_node_id) ,
2233- & msg. channel_id
2234+ & msg. channel_id,
22342235 ) ;
2235- log_debug ! ( logger, "{}" , error) ;
2236- return Err ( LightningError {
2237- err : error. clone ( ) ,
2238- action : msgs:: ErrorAction :: DisconnectPeerWithWarning {
2239- msg : msgs:: WarningMessage { channel_id : msg. channel_id , data : error } ,
2240- } ,
2241- }
2242- . into ( ) ) ;
2236+ return Ok ( None ) ;
22432237 } ,
22442238 } ;
22452239
You can’t perform that action at this time.
0 commit comments