diff --git a/secp256k1.nim b/secp256k1.nim index c061e73..b3816c0 100644 --- a/secp256k1.nim +++ b/secp256k1.nim @@ -158,7 +158,7 @@ func getContext(): ptr secp256k1_context = secpContext = newSkContext() secpContext.context -func fromHex(T: type seq[byte], s: string): SkResult[T] = +func fromHex*(T: type seq[byte], s: string): SkResult[T] = # TODO move this to some common location and return a general error? try: ok(hexToSeqByte(s))