File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -4514,8 +4514,7 @@ where
45144514 let peer_state_mutex =
45154515 per_peer_state.get(peer_node_id).ok_or_else(|| APIError::ChannelUnavailable {
45164516 err: format!(
4517- "Can't find a peer matching the passed counterparty node_id {}",
4518- peer_node_id
4517+ "Can't find a peer matching the passed counterparty node_id {peer_node_id}",
45194518 ),
45204519 })?;
45214520 let mut peer_state_lock = peer_state_mutex.lock().unwrap();
@@ -4563,8 +4562,7 @@ where
45634562 } else {
45644563 Err(APIError::ChannelUnavailable {
45654564 err: format!(
4566- "Channel with id {} not found for the passed counterparty node_id {}",
4567- channel_id, peer_node_id
4565+ "Channel with id {channel_id} not found for the passed counterparty node_id {peer_node_id}",
45684566 ),
45694567 })
45704568 }
You can’t perform that action at this time.
0 commit comments