Skip to content

Commit

Permalink
Merge pull request #818 from subquery/fix/float-issue
Browse files Browse the repository at this point in the history
fix: float issue
  • Loading branch information
HuberTRoy authored Feb 5, 2025
2 parents b65d3af + b389f40 commit ce2e7fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/delegator/AllIndexers/IndexerList/IndexerList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export const IndexerList: React.FC = () => {
return {
...i,
commission: {
current: getDisplayedCommission(i.commission.current * 100),
after: getDisplayedCommission(i.commission.after * 100),
current: getDisplayedCommission(BigNumberJs(i.commission.current).multipliedBy(100).toNumber()),
after: getDisplayedCommission(BigNumberJs(i.commission.after).multipliedBy(100).toNumber()),
} as CurrentEraValue<number>,
};
});
Expand Down

0 comments on commit ce2e7fa

Please sign in to comment.