Remove converting to bytes when comparing

This commit is contained in:
akshaya
2024-08-07 17:25:57 -04:00
parent 88111a0e9f
commit 7589fd8ace

View File

@@ -43,4 +43,4 @@ proc multiplyBasePointWithScalars*(scalars: openArray[FieldElement]): FieldEleme
# Compare two FieldElements
proc compareFieldElements*(a, b: FieldElement): bool =
fieldElementToBytes(a) == fieldElementToBytes(b)
a == b