diff --git a/pkg/smartcontract/manifest/manifest.go b/pkg/smartcontract/manifest/manifest.go index f4f8ad636..8b813bd2e 100644 --- a/pkg/smartcontract/manifest/manifest.go +++ b/pkg/smartcontract/manifest/manifest.go @@ -2,6 +2,7 @@ package manifest import ( "encoding/json" + "math" "github.com/nspcc-dev/neo-go/pkg/io" "github.com/nspcc-dev/neo-go/pkg/util" @@ -9,7 +10,7 @@ import ( const ( // MaxManifestSize is a max length for a valid contract manifest. - MaxManifestSize = 4096 + MaxManifestSize = math.MaxUint16 // MethodInit is a name for default initialization method. MethodInit = "_initialize"