Skip to content

Commit

Permalink
fix(platforms): fixes experienced community staking stamp bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aminah-io authored Nov 8, 2023
2 parents 3db62b1 + 5cc0284 commit d29d81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/src/GtcStaking/Providers/GtcStaking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d29d81f

Please sign in to comment.