Skip to content

Commit 921bdf0

Browse files
committed
fix typo swap/htlc.go
1 parent 84a4535 commit 921bdf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swap/htlc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ type HtlcScriptV2 struct {
326326
senderKey [33]byte
327327
}
328328

329-
// newHTLCScriptV2 construct an HtlcScipt with the HTLC V2 witness script.
329+
// newHTLCScriptV2 construct an HtlcScript with the HTLC V2 witness script.
330330
//
331331
// <receiverHtlcKey> OP_CHECKSIG OP_NOTIF
332332
//
@@ -524,7 +524,7 @@ func parsePubKey(muSig2Version input.MuSig2Version, key [33]byte) (
524524
}
525525
}
526526

527-
// newHTLCScriptV3 constructs a HtlcScipt with the HTLC V3 taproot script.
527+
// newHTLCScriptV3 constructs a HtlcScript with the HTLC V3 taproot script.
528528
func newHTLCScriptV3(muSig2Version input.MuSig2Version, cltvExpiry int32,
529529
senderInternalKey, receiverInternalKey, senderHtlcKey,
530530
receiverHtlcKey [33]byte, swapHash lntypes.Hash) (*HtlcScriptV3, error) {

0 commit comments

Comments
 (0)