smartcontract: adjust NEP11-D standard
Method `ownerOf` returns iterator which should be of the type InteropInterface.
This commit is contained in:
parent
613a23cc3f
commit
fa1174ec7e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ var nep11Divisible = &Standard{
|
||||||
Parameters: []manifest.Parameter{
|
Parameters: []manifest.Parameter{
|
||||||
{Name: "tokenId", Type: smartcontract.ByteArrayType},
|
{Name: "tokenId", Type: smartcontract.ByteArrayType},
|
||||||
},
|
},
|
||||||
ReturnType: smartcontract.AnyType,
|
ReturnType: smartcontract.InteropInterfaceType, // iterator
|
||||||
Safe: true,
|
Safe: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue