Skip to content

Commit

Permalink
Update solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 authored Oct 25, 2024
1 parent 57ee361 commit daea5ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<ibc::AcknowledgementStatus>(
ack.as_bytes(),
Expand Down

0 comments on commit daea5ea

Please sign in to comment.