Skip to content

Commit 1a99c62

Browse files
committed
lncfg: add comment to tlv legacy option
1 parent 17ba6fd commit 1a99c62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lncfg/protocol_legacy_on.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ type LegacyProtocol struct {
1212
// LegacyOnionFormat if set to true, then we won't signal
1313
// TLVOnionPayloadOptional. As a result, nodes that include us in the
1414
// route won't use the new modern onion framing.
15+
//
16+
// NOTE: LND will still be able to decode tlv onion payloads if they
17+
// reach us because the decoder supports both formats althoug we
18+
// explicitly gossip that we don't support it via this config.
1519
LegacyOnionFormat bool `long:"onion" description:"force node to not advertise the new modern TLV onion format"`
1620

1721
// CommitmentTweak guards if we should use the old legacy commitment

0 commit comments

Comments
 (0)