fixup: bad return value for signature deserialize
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
e3b4dddaa1
commit
6c47349125
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue