Skip to content

Commit

Permalink
Try linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattverse committed Mar 15, 2024
1 parent b9808f9 commit 00b88c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/coin.go
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,8 @@ func SetCoinDenomRegex(reFn func() string) {
}

// ValidateDenom is the default validation function for Coin.Denom.
//
//nolint:gocritic
func ValidateDenom(denom string) error {
if reDnm == nil || reDecCoin == nil {
// Convert the string to a byte slice as required by the Ragel-generated function.
Expand Down

0 comments on commit 00b88c7

Please sign in to comment.