fix typo swap/htlc.go

pull/686/head
shuoer86 4 months ago
parent 84a4535c8d
commit 921bdf05bd
No known key found for this signature in database
GPG Key ID: 84A704A15F88ADAD

@ -326,7 +326,7 @@ type HtlcScriptV2 struct {
senderKey [33]byte
}
// newHTLCScriptV2 construct an HtlcScipt with the HTLC V2 witness script.
// newHTLCScriptV2 construct an HtlcScript with the HTLC V2 witness script.
//
// <receiverHtlcKey> OP_CHECKSIG OP_NOTIF
//
@ -524,7 +524,7 @@ func parsePubKey(muSig2Version input.MuSig2Version, key [33]byte) (
}
}
// newHTLCScriptV3 constructs a HtlcScipt with the HTLC V3 taproot script.
// newHTLCScriptV3 constructs a HtlcScript with the HTLC V3 taproot script.
func newHTLCScriptV3(muSig2Version input.MuSig2Version, cltvExpiry int32,
senderInternalKey, receiverInternalKey, senderHtlcKey,
receiverHtlcKey [33]byte, swapHash lntypes.Hash) (*HtlcScriptV3, error) {

Loading…
Cancel
Save