From 870e16bdd7c986185b4b4f886655b4a51d421618 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Fri, 6 Jun 2025 15:05:41 +0800 Subject: [PATCH] channeldb+lnwallet: fix typo --- channeldb/revocation_log_test.go | 2 +- lnwallet/channel.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/channeldb/revocation_log_test.go b/channeldb/revocation_log_test.go index ceec9a265..6e7afb9a3 100644 --- a/channeldb/revocation_log_test.go +++ b/channeldb/revocation_log_test.go @@ -80,7 +80,7 @@ var ( // Custom blob tlv. 0x5, 0x11, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, 0x64, 0x61, 0x74, 0x61, - // HLTC index tlv. + // HTLC index tlv. 0x6, 0x1, 0x33, } diff --git a/lnwallet/channel.go b/lnwallet/channel.go index 81a201d1c..ee45bf943 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -2368,7 +2368,7 @@ func createHtlcRetribution(chanState *channeldb.OpenChannel, // If this is an incoming HTLC, then this means that they were the // sender of the HTLC (relative to us). So we'll re-generate the sender - // HTLC script. Otherwise, is this was an outgoing HTLC that we sent, + // HTLC script. Otherwise, if this was an outgoing HTLC that we sent, // then from the PoV of the remote commitment state, they're the // receiver of this HTLC. //nolint:ll