From e56f51178038f8d5989a8ca83354c22359692cba Mon Sep 17 00:00:00 2001 From: SoraSuegami Date: Tue, 28 May 2024 20:38:25 +0900 Subject: [PATCH] Fix comment --- packages/circuits/utils/regex.circom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/circuits/utils/regex.circom b/packages/circuits/utils/regex.circom index 68edbd7f..470b1c3e 100644 --- a/packages/circuits/utils/regex.circom +++ b/packages/circuits/utils/regex.circom @@ -11,7 +11,7 @@ include "./bytes.circom"; /// @param maxRevealLen Maximum length of the reveal part /// @input in Input array; assumes elements to be bytes /// @input startIndex The index from which reveal part starts; assumes a valid index, -/// and `startIndex + maxRevealLen - 1` fits in `ceil(log2((maxArrayLen))` bits. +/// and `startIndex + maxRevealLen - 1` fits in `ceil(log2((maxArrayLen + maxRevealLen - 1))` bits. /// @output out Revealed data array template SelectRegexReveal(maxArrayLen, maxRevealLen) { signal input in[maxArrayLen];