Skip to content

Commit

Permalink
bugfix: quickfix rewards rounding issue (#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean McCaffery authored Aug 28, 2024
1 parent f04523f commit c1c6325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-app-revamp/lib/rewards/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const getNetBalances = async (
acc[tokenAddress].balance -= transaction.amount_withdrawn;
}
}
acc[tokenAddress].balance = parseFloat(acc[tokenAddress].balance.toFixed(10));
return acc;
},
{} as { [key: string]: RewardToken },
Expand Down

0 comments on commit c1c6325

Please sign in to comment.