Skip to content

Commit

Permalink
ci: Temporary linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
filipdjokic committed Nov 18, 2024
1 parent 448faa4 commit f3fb8c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gov/utils_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func (m *Module) updateProposalValidatorStatusesSnapshot(
proposalID,
consAddr.String(),
votingPower.VotingPower.Int64(),
stakingtypes.BondStatus(status.Status),
stakingtypes.BondStatus(status.Status), // #nosec G115
status.Jailed,
height,
)
Expand Down
2 changes: 1 addition & 1 deletion modules/top_accounts/handle_periodic_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (m *Module) RefreshTotalAccounts() error {
return fmt.Errorf("error while getting total number of accounts: %s", err)
}

err = m.db.SaveTotalAccounts(int64(totalAccountsNumber), height)
err = m.db.SaveTotalAccounts(int64(totalAccountsNumber), height) // #nosec G115
if err != nil {
return fmt.Errorf("error while storing total number of accounts: %s", err)
}
Expand Down

0 comments on commit f3fb8c9

Please sign in to comment.