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 daea5ea commit 460db1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ impl ibc::Module for IbcStorage<'_, '_> {
);
let ack_status = str::from_utf8(ack.as_bytes())
.expect("Invalid acknowledgement string");
let status = serde_json::from_slice::<ibc::AcknowledgementStatus>(
ack.as_bytes(),
let status = serde_json::from_str::<ibc::AcknowledgementStatus>(
ack_status
);
let success = if let Ok(status) = status {
status.is_successful()
Expand Down

0 comments on commit 460db1b

Please sign in to comment.