Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
iddriss committed Oct 22, 2023
1 parent 52d3893 commit 0d23918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dex/v1/pair/Pair.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ mod StarkDPair {
let config = self.config.read();
let (reserve0, reserve1, _) = self.get_reserves();
let this_address = get_contract_address();
let balance0 = InternalFunctions::_balance_of(config.token0, this_address);
let balance1 = InternalFunctions::_balance_of(config.token1, this_address);
let balance0 = InternalFunctions::_balance_of(config.token0, this_address);
let balance1 = InternalFunctions::_balance_of(config.token1, this_address);
let amount0 = balance0 - reserve0;
let amount1 = balance1 - reserve1;

Expand Down

0 comments on commit 0d23918

Please sign in to comment.