Split up comically long error return
[rust-lightning] / lightning / src / ln / channelmanager.rs
index ba0f17303372dba3aa4c68d5305181d6173db4a3..501665f68257cf76969514f2de087c6780441c10 100644 (file)
@@ -2811,7 +2811,13 @@ where
                                        },
                                }
                        },
-                       None => { return Err(APIError::ChannelUnavailable { err: format!("Channel with id {} not found for the passed counterparty node_id {}", log_bytes!(*temporary_channel_id), counterparty_node_id) }) },
+                       None => {
+                               return Err(APIError::ChannelUnavailable {
+                                       err: format!(
+                                               "Channel with id {} not found for the passed counterparty node_id {}",
+                                               log_bytes!(*temporary_channel_id), counterparty_node_id),
+                               })
+                       },
                };
 
                peer_state.pending_msg_events.push(events::MessageSendEvent::SendFundingCreated {