commit 8ebed96021830cf3b8b965dd29378044fa636179
parent 4214e0b9bd23b76c5df9d5c678568f3f3f5cb1ac
Author: Jared Tobin <jared@jtobin.io>
Date: Thu, 7 Nov 2024 16:22:49 +0400
lib: expose pub, xonlypub data constructors
Benign, and aids conversion/testing.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Crypto/Curve/Secp256k1.hs b/lib/Crypto/Curve/Secp256k1.hs
@@ -38,7 +38,7 @@ module Crypto.Curve.Secp256k1 (
, parse_compact
, serialize_compact
- , Pub
+ , Pub(..)
, derive_pub
, parse_pub
, tweak_pub_add
@@ -47,7 +47,7 @@ module Crypto.Curve.Secp256k1 (
, tweak_sec_mul
, serialize_pub
, serialize_pub_u
- , XOnlyPub
+ , XOnlyPub(..)
, xonly
, parse_xonly
, serialize_xonly