From fa1174ec7e0aaded939ed8b163df65ac6a911b72 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Thu, 20 Jan 2022 21:12:18 +0300 Subject: [PATCH] smartcontract: adjust NEP11-D standard Method `ownerOf` returns iterator which should be of the type InteropInterface. --- pkg/smartcontract/manifest/standard/nep11.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/smartcontract/manifest/standard/nep11.go b/pkg/smartcontract/manifest/standard/nep11.go index e769bbb47..3d896a0ff 100644 --- a/pkg/smartcontract/manifest/standard/nep11.go +++ b/pkg/smartcontract/manifest/standard/nep11.go @@ -103,7 +103,7 @@ var nep11Divisible = &Standard{ Parameters: []manifest.Parameter{ {Name: "tokenId", Type: smartcontract.ByteArrayType}, }, - ReturnType: smartcontract.AnyType, + ReturnType: smartcontract.InteropInterfaceType, // iterator Safe: true, }, {