From 921bdf05bd682371f1f0d17050178f102b46caa2 Mon Sep 17 00:00:00 2001 From: shuoer86 <129674997+shuoer86@users.noreply.github.com> Date: Fri, 12 Jan 2024 20:56:38 +0800 Subject: [PATCH] fix typo swap/htlc.go --- swap/htlc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swap/htlc.go b/swap/htlc.go index daa7ef3..f342618 100644 --- a/swap/htlc.go +++ b/swap/htlc.go @@ -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. // // 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) {