Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 committed Oct 25, 2024
1 parent 593d597 commit aee98fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ fn call_bridge_escrow(
// The relayer would parse the memo and pass the relevant accounts The
// intent_id and memo needs to be stripped
let (intent_id, memo) =
parse_bridge_memo(&data.memo.as_ref()).ok_or_else(|| {
parse_bridge_memo(data.memo.as_ref()).ok_or_else(|| {
let err = ibc::TokenTransferError::Other("Invalid memo".into());
ibc::AcknowledgementStatus::error(err.into())
})?;
Expand Down

0 comments on commit aee98fc

Please sign in to comment.