mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 06:35:07 +01:00
When iterating edges, pathfinding checks early whether using an edge would violate the requested total fee limit for a route. This check is done on the net amount (an amount the inbound fee is calculated with). However, a possible next hop's fee discount leads to a reduction in fees and as such using the net amount leads to assuming a higher cumulative fee than the route really has, excluding the path erroneously. We perform the fee limit check on the amount to send, which includes both inbound and outbound fees. This should be possible as the first hop's outbound fee is zero and therefore doesn't have to be checked in the end. |
||
---|---|---|
.. | ||
release-notes-0.13.1.md | ||
release-notes-0.13.2.md | ||
release-notes-0.13.3.md | ||
release-notes-0.14.0.md | ||
release-notes-0.14.1.md | ||
release-notes-0.14.2.md | ||
release-notes-0.14.3.md | ||
release-notes-0.15.0.md | ||
release-notes-0.15.1.md | ||
release-notes-0.15.2.md | ||
release-notes-0.15.3.md | ||
release-notes-0.15.4.md | ||
release-notes-0.15.5.md | ||
release-notes-0.16.0.md | ||
release-notes-0.16.1.md | ||
release-notes-0.16.2.md | ||
release-notes-0.16.3.md | ||
release-notes-0.17.0.md | ||
release-notes-0.17.1.md | ||
release-notes-0.17.3.md | ||
release-notes-0.17.4.md | ||
release-notes-0.18.0.md | ||
release-notes-0.18.1.md | ||
release-notes-0.18.2.md | ||
release-notes-0.18.3.md |