Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Update subgraphs/exchange/src/core.ts
Browse files Browse the repository at this point in the history
Co-authored-by: toniya-klaytn <[email protected]>
  • Loading branch information
SergeyPoslavskiy and 0xxlegolas authored Nov 21, 2022
1 parent b89f1e2 commit c62ccd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subgraphs/exchange/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function handleSync(event: Sync): void {
let factoryAddress = context.getString('DexFactory')
let factory = Factory.load(factoryAddress)!;

// reset factory liquidity by subtracting onluy tracked liquidity
// reset factory liquidity by subtracting only tracked liquidity
factory.totalLiquidityKLAY = factory.totalLiquidityKLAY.minus(pair.trackedReserveKLAY as BigDecimal);

// reset token total liquidity amounts
Expand Down

0 comments on commit c62ccd1

Please sign in to comment.