From be989635994377e0e421e4a039230098ba5ccd28 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Mon, 22 Jun 2020 16:59:37 +0200 Subject: [PATCH] fromHex needs to be public after all --- secp256k1.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))