From 420554b14f19677c8179f8c0b7dbfd077ba5ac2d Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Wed, 28 Jun 2023 18:42:15 -0400 Subject: [PATCH] call stack issue --- src/models/StratumV1ClientStatistics.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models/StratumV1ClientStatistics.ts b/src/models/StratumV1ClientStatistics.ts index ed55644..621123b 100644 --- a/src/models/StratumV1ClientStatistics.ts +++ b/src/models/StratumV1ClientStatistics.ts @@ -72,7 +72,8 @@ export class StratumV1ClientStatistics { x = x | (x >> 32); const res = x - (x >> 1); if (res < 1) { - return this.blpo2(val * 100) / 100; + return 1; + //return this.blpo2(val * 100) / 100; } return res; }