Skip to content

Commit

Permalink
Merge pull request #2403 from fluidity-money/develop-prevent-tvl-doub…
Browse files Browse the repository at this point in the history
…le-scaling

Fix mistake with the variable used for the pool
  • Loading branch information
af-afk authored Nov 4, 2023
2 parents 6fcd74e + 0aa42b1 commit b6e7bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/microservice-solana-worker-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ func main() {
}

emissionScaledRewardPool := new(big.Rat).Quo(
sizeOfThePool,
unscaledPoolRat,
decimalPlacesRat,
)

emission.Payout.RewardPool, _ = emissionScaledRewardPool.Float()
emission.Payout.RewardPool, _ = emissionScaledRewardPool.Float64()

randomN, randomPayouts, _ := probability.WinningChances(
worker_types.TrfModeNormal,
Expand Down

0 comments on commit b6e7bdf

Please sign in to comment.