commit 8305a24530f35a6d6c9f50012ef50a0a6e1ba97c
parent 295e72cdbc0eadb60e245ea31d1da74721c3baa2
Author: Jared Tobin <jared@jtobin.io>
Date: Fri, 18 Oct 2024 16:40:56 +0400
meta: update readme example
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -15,7 +15,7 @@ A sample GHCi session:
> import qualified Crypto.Curve.Secp256k1 as Secp256k1
>
> -- secret, public keys
- > let sec = Secp256k1.parse_integer "B7E151628AED2A6ABF7158809CF4F3C762E7160F38B4DA56A784D9045190CFEF"
+ > let sec = Secp256k1.parse_int256 "B7E151628AED2A6ABF7158809CF4F3C762E7160F38B4DA56A784D9045190CFEF"
> let Just pub = Secp256k1.parse_point "DFF1D77F2A671C5F36183726DB2341BE58FEAE1DA2DECED843240F7B502BA659"
>
> let msg = "i approve of this message"