fixup: bad return value for signature deserialize
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
35688c9b3a
commit
7d8f2f9944
|
@ -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