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 @@ -4517,8 +4517,7 @@ where
45174517 let peer_state_mutex =
45184518 per_peer_state.get(peer_node_id).ok_or_else(|| APIError::ChannelUnavailable {
45194519 err: format!(
4520- "Can't find a peer matching the passed counterparty node_id {}",
4521- peer_node_id
4520+ "Can't find a peer matching the passed counterparty node_id {peer_node_id}",
45224521 ),
45234522 })?;
45244523 let mut peer_state_lock = peer_state_mutex.lock().unwrap();
@@ -4566,8 +4565,7 @@ where
45664565 } else {
45674566 Err(APIError::ChannelUnavailable {
45684567 err: format!(
4569- "Channel with id {} not found for the passed counterparty node_id {}",
4570- channel_id, peer_node_id
4568+ "Channel with id {channel_id} not found for the passed counterparty node_id {peer_node_id}",
45714569 ),
45724570 })
45734571 }
You can’t perform that action at this time.
0 commit comments