Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
2xburnt committed Sep 11, 2024
1 parent 1bf1f9a commit 8789a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/mint/simulation/proposals.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func SimulateMsgUpdateParams(r *rand.Rand, _ sdk.Context, _ []simtypes.Account)
var authority sdk.AccAddress = address.Module("gov")

params := types.DefaultParams()
params.BlocksPerYear = uint64(simtypes.RandIntBetween(r, 1, 1000000))
params.BlocksPerYear = math.NewInt(int64(simtypes.RandIntBetween(r, 1, 1000000))).Uint64()
params.GoalBonded = math.LegacyNewDecWithPrec(int64(simtypes.RandIntBetween(r, 1, 100)), 2)
params.InflationMin = math.LegacyNewDecWithPrec(int64(simtypes.RandIntBetween(r, 1, 50)), 2)
params.InflationMax = math.LegacyNewDecWithPrec(int64(simtypes.RandIntBetween(r, 50, 100)), 2)
Expand Down

0 comments on commit 8789a62

Please sign in to comment.