From 6c8d86468dddfc7922d51d2cc6f6f95d0f33b8b5 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sat, 22 Jun 2024 12:38:43 +0900 Subject: [PATCH] chore: update SecretPhraseVerifier.sol substract -> subtract --- hardhat/contracts/SecretPhraseVerifier.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardhat/contracts/SecretPhraseVerifier.sol b/hardhat/contracts/SecretPhraseVerifier.sol index 1dda9825..9fb96478 100644 --- a/hardhat/contracts/SecretPhraseVerifier.sol +++ b/hardhat/contracts/SecretPhraseVerifier.sol @@ -225,9 +225,9 @@ contract SecretPhraseVerifier { } acc := inverse(acc, q) - // At this point pAux pint to the next free position we substract 1 to point to the last used + // At this point pAux pint to the next free position we subtract 1 to point to the last used pAux := sub(pAux, 32) - // pIn points to the n+1 element, we substract to point to n + // pIn points to the n+1 element, we subtract to point to n pIn := sub(pIn, 32) lastPIn := pVals // We don't process the first element for {