mirror of
https://github.com/vacp2p/mix.git
synced 2026-01-09 23:08:09 -05:00
Remove converting to bytes when comparing
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user