smartcontract: adjust NEP11-D standard

Method `ownerOf` returns iterator which should be of the type
InteropInterface.
This commit is contained in:
Anna Shaleva 2022-01-20 21:12:18 +03:00
parent 613a23cc3f
commit fa1174ec7e

View file

@ -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,
}, },
{ {