We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e54e94 commit 8ff200dCopy full SHA for 8ff200d
packages/nimiq-rewards-calculator/src/index.ts
@@ -90,7 +90,7 @@ export function calculateStakingRewards(params: CalculateStakingRewardsParams):
90
- Math.log(DECAY_PER_DAY * genesisSupply)
91
)
92
}
93
- gainRatio = gainRatio * (1 - fee) / 1e5
+ gainRatio = gainRatio * (1 - fee)
94
const totalAmount = amount * (1 + gainRatio)
95
return { totalAmount, gain: totalAmount - amount, gainRatio }
96
0 commit comments