Skip to content

LND sends an incoming HTLC which would exceed local maxHtlcValueInFlightMsat #2232

@akumaigorodski

Description

@akumaigorodski

Background

BLW user attempted to send and receive a number of HTLCs through a channel with LND node and some of outgoing HTLCs got stuck, a bit later LND attempted to fulfill one of BLW's payment requests but doing so exceeded a local maxHtlcValueInFlightMsat.

BLW maxHtlcValueInFlightMsat is set to 4000000 SAT, LND maxHtlcValueInFlightMsat is set to 14850000 SAT, BLW has 7 stuck outgoing HTLCs with total sum of 5783057 SAT which already exceeds local in-flight limit, which is fine since when sending we only take into account a remote limit (right?).

As far as I understand LND should not attempt to fullfill any of BLW's requests until total in-flight sum gets below 4000000 SAT but it does.

Your environment

0.5.1-beta commit=v0.5.1-beta-rc4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions