From 246a67506ef86e5c00e70d1ae71842a87bf4aeb6 Mon Sep 17 00:00:00 2001 From: Roman Date: Sat, 3 Aug 2024 22:26:18 -0600 Subject: [PATCH] fix: frontend bug breaking weighted LP --- packages/pools/src/weighted.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pools/src/weighted.ts b/packages/pools/src/weighted.ts index c2473bc21f..805fb53aa3 100644 --- a/packages/pools/src/weighted.ts +++ b/packages/pools/src/weighted.ts @@ -133,7 +133,7 @@ export class WeightedPool implements SharePool, RoutablePool { /** LBP pool */ get smoothWeightChange(): SmoothWeightChangeParams | undefined { - if (this.raw.pool_params.smooth_weight_change_params !== null) { + if (this.raw.pool_params.smooth_weight_change_params != null) { const { start_time, duration,