mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 19:42:23 +00:00
Merge pull request #1917 from nspcc-dev/native/nonfungible_fix
core: add NEP11 to nonfungible supported standards list
This commit is contained in:
commit
933743ce87
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ func newNonFungible(name string, id int32, symbol string, decimals byte) *nonfun
|
||||||
return new(state.NFTTokenState)
|
return new(state.NFTTokenState)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
n.Manifest.SupportedStandards = []string{manifest.NEP11StandardName}
|
||||||
|
|
||||||
desc := newDescriptor("symbol", smartcontract.StringType)
|
desc := newDescriptor("symbol", smartcontract.StringType)
|
||||||
md := newMethodAndPrice(n.symbol, 0, callflag.NoneFlag)
|
md := newMethodAndPrice(n.symbol, 0, callflag.NoneFlag)
|
||||||
|
|
Loading…
Reference in a new issue