fixup: bad return value for signature deserialize

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2022-04-12 15:43:02 +02:00
parent e3b4dddaa1
commit 6c47349125
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ func ec_from_bytes*(
raw: array[96, byte] or array[192, byte] raw: array[96, byte] or array[192, byte]
): bool {.inline.} = ): bool {.inline.} =
let ok = dst.deserialize_signature_compressed(raw) let ok = dst.deserialize_signature_compressed(raw)
doAssert ok == cttBLS_Success ok == cttBLS_Success
func ec_verify*( func ec_verify*(
publicKey: PublicKey, publicKey: PublicKey,