Skip to content

Commit

Permalink
fix a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Foivos committed Jul 9, 2024
1 parent 5b15ea6 commit 7168f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion move/squid/sources/squid/transfers.move
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module squid::transfers {
if (data.length() == 0) return;
let swap_data = new_its_transfer_swap_data(data);

assert!(swap_data.swap_type == SWAP_TYPE_SUI_TRANSFER, EWrongSwapType);
assert!(swap_data.swap_type == SWAP_TYPE_ITS_TRANSFER, EWrongSwapType);

assert!(
&swap_data.coin_type == &type_name::get<T>().into_string(),
Expand Down

0 comments on commit 7168f8d

Please sign in to comment.