Skip to content

Commit 9e6e20f

Browse files
committed
Split up comically long error return
1 parent 2e39e08 commit 9e6e20f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lightning/src/ln/channelmanager.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,13 @@ where
28112811
},
28122812
}
28132813
},
2814-
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) }) },
2814+
None => {
2815+
return Err(APIError::ChannelUnavailable {
2816+
err: format!(
2817+
"Channel with id {} not found for the passed counterparty node_id {}",
2818+
log_bytes!(*temporary_channel_id), counterparty_node_id),
2819+
})
2820+
},
28152821
};
28162822

28172823
peer_state.pending_msg_events.push(events::MessageSendEvent::SendFundingCreated {

0 commit comments

Comments
 (0)