Skip to content

Commit

Permalink
Merge pull request #307 from invariant-labs/fix-validate-state-script
Browse files Browse the repository at this point in the history
fix validate state script
  • Loading branch information
none00y authored Oct 11, 2024
2 parents 5c38274 + 1c111c4 commit e4e17ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/src/validate-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const getPairLiquidityValues = (pool: Pool, liquidityTicks: LiquidityTick[]) =>
} else {
liquidityDelta = liquidityUpper
prev.liquidityChange = liquidityLower - liquidityUpper
break;
}

const [xVal, yVal] = calculateAmountDelta(
Expand Down

0 comments on commit e4e17ea

Please sign in to comment.