mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
fix typo swap/htlc.go
This commit is contained in:
parent
84a4535c8d
commit
921bdf05bd
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue