mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-02-16 23:06:55 +00:00
remove unused generics to ease compilation
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
aa4596310a
commit
d2cd79a754
@ -122,7 +122,7 @@ func ec_export_raw*(signature: Signature): array[96, byte] {.inline, noinit.} =
|
|||||||
let ok = result.serialize_signature_compressed(signature)
|
let ok = result.serialize_signature_compressed(signature)
|
||||||
doAssert ok == cttBLS_Success
|
doAssert ok == cttBLS_Success
|
||||||
|
|
||||||
proc ec_sign*[T: byte|char](secretKey: SecretKey, message: openarray[T]): Signature =
|
proc ec_sign*(secretKey: SecretKey, message: openarray[char]): Signature =
|
||||||
let ok = result.sign(secretKey, message)
|
let ok = result.sign(secretKey, message)
|
||||||
doAssert ok == cttBLS_Success
|
doAssert ok == cttBLS_Success
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user