Skip to content

Commit

Permalink
Update Commission cal (MystenLabs#7689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jibz1 authored Jan 25, 2023
1 parent e65b679 commit 3b2dc2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function DelegationDetailCard({

const commission = useMemo(() => {
if (!validatorData) return 0;
return +validatorData.fields.commission_rate * 100;
return +validatorData.fields.commission_rate / 100;
}, [validatorData]);

const stakingEnabled = useFeature(FEATURES.STAKING_ENABLED).on;
Expand Down

0 comments on commit 3b2dc2a

Please sign in to comment.