Skip to content

Commit

Permalink
fix: fix balance condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPAC-4 committed Dec 19, 2024
1 parent 33b01b2 commit 7e844a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precompile/modules/initia_stdlib/sources/minitswap.move
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ module initia_std::minitswap {

let uinit_pool_balance = coin::balance(pool_addr, init_metadata());
assert!(
uinit_pool_balance > arb_info.ibc_op_init_sent,
uinit_pool_balance >= arb_info.ibc_op_init_sent,
error::invalid_state(ENOT_ENOUGH_BALANCE)
);

Expand Down

0 comments on commit 7e844a3

Please sign in to comment.