Skip to content

Commit

Permalink
test: fix create denom simulation test
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamu committed Jun 15, 2023
1 parent d89b1d5 commit e64f394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/tokenfactory/simulation/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func randomCreateDenomFields(
// Check treasury balances
balances := bk.SpendableCoins(ctx, sdk.MustAccAddressFromBech32(subspace.Treasury))
creationFees := tfk.GetParams(ctx).DenomCreationFee
if balances.IsAllLT(creationFees) {
if !balances.IsAllGT(creationFees) {
// Skip because treasury does not have enough coins
skip = true
return
Expand Down

0 comments on commit e64f394

Please sign in to comment.