Skip to content

Commit

Permalink
Merge pull request #304 from irisnet/fix/import-nft
Browse files Browse the repository at this point in the history
fix: import nft error
  • Loading branch information
zhangyelong authored Aug 25, 2022
2 parents 1a5790d + d4bd75c commit 84b1484
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 84b1484

Please sign in to comment.