Skip to content

Commit

Permalink
reverts the back to OG implementation of compute_swap
Browse files Browse the repository at this point in the history
  • Loading branch information
gangov committed Jul 29, 2024
1 parent 690a599 commit 258302b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/pool_stable/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ pub fn compute_swap(
env,
amp as u128,
scale_value(
offer_pool + convert_i128_to_u128(before_commission),
offer_pool + offer_amount,
greatest_precision,
DECIMAL_PRECISION,
),
Expand Down

0 comments on commit 258302b

Please sign in to comment.