commit 05a519fd04b2278423d0c46945be34f0b7244199
parent 6661a6fcb3e786fdee2bbbd85edae1dbfce42553
Author: Jared Tobin <jared@jtobin.io>
Date: Mon, 20 Apr 2026 17:51:47 +0800
export PerCommitmentPoint constructor
Export PerCommitmentPoint(..) instead of just the type and
accessor. The newtype wraps Point without any invariant, so
the constructor is safe to expose.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/Lightning/Protocol/BOLT3.hs b/lib/Lightning/Protocol/BOLT3.hs
@@ -103,8 +103,7 @@ module Lightning.Protocol.BOLT3 (
-- ** Basepoints
, Basepoints(..)
- , PerCommitmentPoint
- , unPerCommitmentPoint
+ , PerCommitmentPoint(..)
, PerCommitmentSecret
, unPerCommitmentSecret
, perCommitmentSecret