nef: lower MaxScriptLength

Follow neo-project/neo#2119 changes.
This commit is contained in:
Roman Khimov 2020-12-14 13:30:55 +03:00
parent cb5ecaefe7
commit 2e0fe370cf

View file

@ -29,7 +29,7 @@ const (
// Magic is a magic File header constant. // Magic is a magic File header constant.
Magic uint32 = 0x3346454E Magic uint32 = 0x3346454E
// MaxScriptLength is the maximum allowed contract script length. // MaxScriptLength is the maximum allowed contract script length.
MaxScriptLength = 1024 * 1024 MaxScriptLength = 512 * 1024
// compilerFieldSize is the length of `Compiler` and `Version` File header fields in bytes. // compilerFieldSize is the length of `Compiler` and `Version` File header fields in bytes.
compilerFieldSize = 32 compilerFieldSize = 32
) )