Skip to content

Commit

Permalink
import nft error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamer committed Aug 23, 2022
1 parent 1a5790d commit d4bd75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nft/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func NewGenesisState(collections []Collection) *GenesisState {
// error for any failed validation criteria.
func ValidateGenesis(data GenesisState) error {
for _, c := range data.Collections {
if err := ValidateDenomID(c.Denom.Name); err != nil {
if err := ValidateDenomID(c.Denom.Id); err != nil {
return err
}

Expand Down

0 comments on commit d4bd75c

Please sign in to comment.