From 1c901c28d9025c42c03113061f90ace612f76bfa Mon Sep 17 00:00:00 2001 From: yito88 Date: Thu, 25 Jan 2024 00:46:14 +0100 Subject: [PATCH] fmt --- crates/ibc/src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/ibc/src/lib.rs b/crates/ibc/src/lib.rs index 78de781656..e04e8d100e 100644 --- a/crates/ibc/src/lib.rs +++ b/crates/ibc/src/lib.rs @@ -173,11 +173,9 @@ where { let port_id = &msg.packet.port_id_on_b; let channel_id = &msg.packet.chan_id_on_b; - let ibc_denom = format!("{port_id}/{channel_id}/{}", data.token.denom); - Some(( - vec![ibc_denom], - data.receiver.to_string(), - )) + let ibc_denom = + format!("{port_id}/{channel_id}/{}", data.token.denom); + Some((vec![ibc_denom], data.receiver.to_string())) } else if let Ok(data) = serde_json::from_slice::(&msg.packet.data) { @@ -187,7 +185,9 @@ where .token_ids .0 .iter() - .map(|id| format!("{port_id}/{channel_id}/{}/{id}", data.class_id)) + .map(|id| { + format!("{port_id}/{channel_id}/{}/{id}", data.class_id) + }) .collect(); Some((ibc_traces, data.receiver.to_string())) } else {