Skip to content

Commit

Permalink
chore: remove placeholders to fix gosec issue
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Dec 10, 2023
1 parent 51c0faa commit 14f3481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (app *App) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []str

// withdraw all validator commission
app.StakingKeeper.IterateValidators(ctx, func(_ int64, val stakingtypes.ValidatorI) (stop bool) {
_, _ = app.DistrKeeper.WithdrawValidatorCommission(ctx, val.GetOperator())
app.DistrKeeper.WithdrawValidatorCommission(ctx, val.GetOperator())

Check failure on line 75 in app/export.go

View workflow job for this annotation

GitHub Actions / Golang Lint

Error return value of `app.DistrKeeper.WithdrawValidatorCommission` is not checked (errcheck)
return false
})

Expand Down

0 comments on commit 14f3481

Please sign in to comment.