Skip to content

Commit

Permalink
nns: limit max number of records to 16
Browse files Browse the repository at this point in the history
These numbers are pretty much arbitrary, but we currently don't need more than
that.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Jul 29, 2024
1 parent 9d69c91 commit 46e39d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/nns/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
maxTXTRecordLength = 255
// maxRecordID is the maximum value of record ID (the upper bound for the number
// of records with the same type).
maxRecordID = 255
maxRecordID = 16
)

// Other constants.
Expand Down

0 comments on commit 46e39d0

Please sign in to comment.