Skip to content

Commit

Permalink
fix: remove CONVERT_REPLY_ARGS when pop convert msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamle2 committed Mar 20, 2024
1 parent 9835a22 commit 3fe9e2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified contracts/cw-ics20-latest/artifacts/cw-ics20-latest.wasm
Binary file not shown.
1 change: 1 addition & 0 deletions contracts/cw-ics20-latest/src/ibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ pub fn get_follow_up_msgs(
} else {
follow_up_msgs_data.follow_up_msg = build_ibc_msg_result.unwrap_err().to_string();
// if has converter message, but don't have ibc messages, then we simply dont convert & send the destination_asset_info_on_orai to user's orai_receiver
CONVERT_REPLY_ARGS.remove(storage);
sub_msgs.pop();

// if destination_channel is not empty then it means there's something wrong with the build_ibc_msg -> is_success = false
Expand Down

0 comments on commit 3fe9e2e

Please sign in to comment.