From 46e39d0a3955ca61f3cc97bc66af763cc90fafdd Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 29 Jul 2024 16:30:36 +0300 Subject: [PATCH] nns: limit max number of records to 16 These numbers are pretty much arbitrary, but we currently don't need more than that. Signed-off-by: Roman Khimov --- contracts/nns/contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/nns/contract.go b/contracts/nns/contract.go index b6e9a975..c8a1c773 100644 --- a/contracts/nns/contract.go +++ b/contracts/nns/contract.go @@ -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.