Skip to content

Commit

Permalink
Merge pull request #2404 from fluidity-money/develop
Browse files Browse the repository at this point in the history
Fix unscaled pool
  • Loading branch information
af-afk authored Nov 4, 2023
2 parents a1c4e5e + b6e7bdf commit 2992537
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 2992537

Please sign in to comment.