Skip to content

[bug]: htlc_maximum_msat is not optional anymore in channel updates #7290

Description

@yaslama

Background

lnd forwards channel updates without htlc_maximum_msat which is now forbidden after lightning/bolts#999 was merged.
The problem is that in this case, other nodes (cln for instance) send back a warning message which triggers a disconnect.

Your environment

lnd v0.15.5-beta or master

Steps to reproduce

Run lnd and create a channel to a node running cln.

Expected behaviour

No channel update messages without htlc_maximum_msat

Actual behaviour

Some channel update messages without htlc_maximum_msat. Then a warning is issued by the other node (cln for instance). Then the peer is disconnected in lnd v0.15.5 because the warning message is "unknown" and in master because a warning triggers a disconnect for an active channel.

Metadata

Metadata

Assignees

Labels

bugUnintended code behaviourchannelsinteropinterop with other implementations

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions