Merge pull request #1917 from nspcc-dev/native/nonfungible_fix

core: add NEP11 to nonfungible supported standards list
This commit is contained in:
Roman Khimov 2021-04-26 21:54:53 +03:00 committed by GitHub
commit 933743ce87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,7 @@ func newNonFungible(name string, id int32, symbol string, decimals byte) *nonfun
return new(state.NFTTokenState)
},
}
n.Manifest.SupportedStandards = []string{manifest.NEP11StandardName}
desc := newDescriptor("symbol", smartcontract.StringType)
md := newMethodAndPrice(n.symbol, 0, callflag.NoneFlag)