From 5cc02843ba808961a9db9db9033a76c73e3f6bfe Mon Sep 17 00:00:00 2001 From: Aminah Burch Date: Wed, 8 Nov 2023 13:25:01 +0300 Subject: [PATCH] fix(platforms): fixes experienced community staking bug --- platforms/src/GtcStaking/Providers/GtcStaking.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/src/GtcStaking/Providers/GtcStaking.ts b/platforms/src/GtcStaking/Providers/GtcStaking.ts index ee8422daf2..1ec356b42b 100644 --- a/platforms/src/GtcStaking/Providers/GtcStaking.ts +++ b/platforms/src/GtcStaking/Providers/GtcStaking.ts @@ -147,7 +147,7 @@ async function checkCommunityStakes(communityStakes: Stake[], address: string): if (currentAmount.gte(5) && currentAmount.lt(10)) { bcsMap.set(cid, (bcsMap.get(cid) || 0) + 1); } - if (currentAmount.gte(10)) { + if (currentAmount.gte(10) && currentAmount.lt(20)) { bcsMap.set(cid, (bcsMap.get(cid) || 0) + 1); ecsMap.set(cid, (ecsMap.get(cid) || 0) + 1); }