From daea5ea841c88ef94b4a7135c860e6a6e289557c Mon Sep 17 00:00:00 2001 From: Michal Nazarewicz Date: Fri, 25 Oct 2024 02:14:08 +0200 Subject: [PATCH] Update solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs --- solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs b/solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs index de1d0535..29e6ef23 100644 --- a/solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs +++ b/solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs @@ -149,8 +149,7 @@ impl ibc::Module for IbcStorage<'_, '_> { self, &maybe_ft_packet, ); - let cloned_ack = ack.clone(); - let ack_status = str::from_utf8(cloned_ack.as_bytes()) + let ack_status = str::from_utf8(ack.as_bytes()) .expect("Invalid acknowledgement string"); let status = serde_json::from_slice::( ack.as_bytes(),