Skip to content

Commit 4bda93a

Browse files
committed
lnwallet: export GenTaprootHtlcScript
1 parent fa61f26 commit 4bda93a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lnwallet/commitment.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,9 +1316,9 @@ func genSegwitV0HtlcScript(chanType channeldb.ChannelType,
13161316
}, nil
13171317
}
13181318

1319-
// genTaprootHtlcScript generates the HTLC scripts for a taproot+musig2
1319+
// GenTaprootHtlcScript generates the HTLC scripts for a taproot+musig2
13201320
// channel.
1321-
func genTaprootHtlcScript(isIncoming, ourCommit bool, timeout uint32,
1321+
func GenTaprootHtlcScript(isIncoming, ourCommit bool, timeout uint32,
13221322
rHash [32]byte, keyRing *CommitmentKeyRing,
13231323
auxLeaf input.AuxTapLeaf) (*input.HtlcScriptTree, error) {
13241324

@@ -1388,7 +1388,7 @@ func genHtlcScript(chanType channeldb.ChannelType, isIncoming, ourCommit bool,
13881388
)
13891389
}
13901390

1391-
return genTaprootHtlcScript(
1391+
return GenTaprootHtlcScript(
13921392
isIncoming, ourCommit, timeout, rHash, keyRing, auxLeaf,
13931393
)
13941394
}

0 commit comments

Comments
 (0)