Skip to content

Commit a9d5e8f

Browse files
committed
lnwallet: export GenTaprootHtlcScript
1 parent 2c9fa8d commit a9d5e8f

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
@@ -1287,9 +1287,9 @@ func genSegwitV0HtlcScript(chanType channeldb.ChannelType,
12871287
}, nil
12881288
}
12891289

1290-
// genTaprootHtlcScript generates the HTLC scripts for a taproot+musig2
1290+
// GenTaprootHtlcScript generates the HTLC scripts for a taproot+musig2
12911291
// channel.
1292-
func genTaprootHtlcScript(isIncoming, ourCommit bool, timeout uint32,
1292+
func GenTaprootHtlcScript(isIncoming, ourCommit bool, timeout uint32,
12931293
rHash [32]byte, keyRing *CommitmentKeyRing,
12941294
auxLeaf input.AuxTapLeaf) (*input.HtlcScriptTree, error) {
12951295

@@ -1359,7 +1359,7 @@ func genHtlcScript(chanType channeldb.ChannelType, isIncoming, ourCommit bool,
13591359
)
13601360
}
13611361

1362-
return genTaprootHtlcScript(
1362+
return GenTaprootHtlcScript(
13631363
isIncoming, ourCommit, timeout, rHash, keyRing, auxLeaf,
13641364
)
13651365
}

0 commit comments

Comments
 (0)