Skip to content

Commit

Permalink
fix fee factor
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractFruitFactory committed Oct 4, 2024
1 parent 959c313 commit 0740975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/api/utils/entities/component/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ const appendUptime =
uptimePercentages: _uptimes,
apy: new BigNumber(YEARLY_XRD_EMISSIONS)
.multipliedBy(
(1 - (entity.state as any).validator_fee_factor) *
(1 - (entity as any).effective_fee_factor.current.fee_factor) *
(_uptimes.alltime ?? 0)
)
.dividedBy(totalAmountStaked)
Expand Down

0 comments on commit 0740975

Please sign in to comment.