Skip to content

Commit

Permalink
fix: pkgs/std/coin.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwon8247 committed Nov 19, 2022
1 parent 32a040d commit 12f7055
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/std/coin.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,9 @@ func validateDenom(denom string) error {
if !reDnm.MatchString(denom) {
return fmt.Errorf("invalid denom: %s", denom)
}
if denom != "ugnot" {
return fmt.Errorf("invalid denom: %s", denom)
}
return nil
}

Expand Down

0 comments on commit 12f7055

Please sign in to comment.