Skip to content

Commit

Permalink
nef: lower MaxScriptLength
Browse files Browse the repository at this point in the history
Follow neo-project/neo#2119 changes.
  • Loading branch information
roman-khimov committed Dec 14, 2020
1 parent 8c0c845 commit 24d6966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/smartcontract/nef/nef.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
// Magic is a magic File header constant.
Magic uint32 = 0x3346454E
// 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 = 32
)
Expand Down

0 comments on commit 24d6966

Please sign in to comment.