From a70655f5b707152d52f8297c2d6c98acddcbb8dd Mon Sep 17 00:00:00 2001 From: Alexander Burkut Date: Mon, 16 Dec 2024 17:31:54 +0300 Subject: [PATCH] small fix --- src/dex/fluid-dex/fluid-dex-pool.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dex/fluid-dex/fluid-dex-pool.ts b/src/dex/fluid-dex/fluid-dex-pool.ts index 02fbf3177..7550933de 100644 --- a/src/dex/fluid-dex/fluid-dex-pool.ts +++ b/src/dex/fluid-dex/fluid-dex-pool.ts @@ -131,8 +131,7 @@ export class FluidDexEventPool extends StatefulEventSubscriber { ); const isSwapAndArbitragePaused = - BigInt(storageResults[0].returnData.toString()) >> BigInt(255) === - BigInt(1); + BigInt(storageResults[0].returnData.toString()) >> 255n === 1n; return { isSwapAndArbitragePaused }; }