Skip to content

Commit

Permalink
Run scarb fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Chepelau committed Dec 10, 2023
1 parent 5889f8b commit 5a776d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/amm_core/liquidity_pool.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ mod LiquidityPool {
let mut pool_pos: Fixed = FixedTrait::from_felt(0);

loop {

// Get option stored under given index
let option = get_available_options(lptoken_address, ix);
assert(option.sum() != 0, 'GVoEO - opt sum zero');
Expand All @@ -161,7 +160,7 @@ mod LiquidityPool {
// We're not at the end (beginning) of array
// so decrease index and continue
ix -= 1;
continue;
continue;
};

if (now - option.maturity) > LOOKBACK {
Expand Down

0 comments on commit 5a776d7

Please sign in to comment.