manifest: update maximum possible length

As per neo-project/neo#2002.
This commit is contained in:
Roman Khimov 2020-11-17 22:10:40 +03:00
parent 586dedecad
commit 34d2eaf00e

View file

@ -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"