channeldb+lnwallet: fix typo

This commit is contained in:
yyforyongyu committed 2025-06-06 19:55:59 +08:00
1 parent 2cd97fcd6d
commit 870e16bdd7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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,
}
+1 -1
View File
@@ -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