Skip to content

Commit

Permalink
fox typo
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Feb 15, 2024
1 parent 0b2e988 commit 25c9d76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions testvectorgen/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,17 +319,17 @@ func CalculateNullify(genesisID, claimSubjectProfileNonce, claimSchema, verifier

func GetValueArraySizeForOperator(operator int) int {
result := 0
opeSizeOps := []int{1, 2, 3, 6, 7, 8}
twoSizeOps := []int{9}
maxSizeOps := []int{4, 5}
oneArrLengthOps := []int{1, 2, 3, 6, 7, 8}
twoArrLengthOps := []int{9}
maxArrLengthOps := []int{4, 5}

if contains(opeSizeOps, operator) {
if contains(oneArrLengthOps, operator) {
return 1
}
if contains(twoSizeOps, operator) {
if contains(twoArrLengthOps, operator) {
return 2
}
if contains(maxSizeOps, operator) {
if contains(maxArrLengthOps, operator) {
return 64
}
return result
Expand Down

0 comments on commit 25c9d76

Please sign in to comment.