Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Jul 25, 2022
1 parent 87dd1fe commit 8698876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/incentives/simulation/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func SimulateMsgAddToGauge(ak stakingTypes.AccountKeeper, bk stakingTypes.BankKe
) (simtypes.OperationMsg, []simtypes.FutureOperation, error) {
simAccount, _ := simtypes.RandomAcc(r, accs)
simCoins := bk.SpendableCoins(ctx, simAccount.Address)
if simCoins.Len() <= 0 || simCoins.AmountOf(appparams.BaseCoinUnit).LT(createGaugeFee) {
if simCoins.Len() <= 0 || simCoins.AmountOf(appparams.BaseCoinUnit).LT(addToGaugeFee) {
return simtypes.NoOpMsg(
types.ModuleName, types.TypeMsgAddToGauge, "Account have no coin"), nil, nil
}
Expand Down

0 comments on commit 8698876

Please sign in to comment.