From 83ba942f497b931c1a20ebe3082483e6e85a73e1 Mon Sep 17 00:00:00 2001 From: Roman Date: Sun, 4 Aug 2024 00:54:27 -0400 Subject: [PATCH] fix: frontend bug breaking weighted LP (#3667) (#3668) --- 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,