Skip to content

Commit c1344cc

Browse files
htlcswitch: adding temporary_channel_failure
updating release notes
1 parent 3d63d2e commit c1344cc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/release-notes/release-notes-0.22.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121

2222
# Bug Fixes
2323

24+
* [Fixed incorrect onion error](https://github.com/lightningnetwork/lnd/pull/6603)
25+
returned when forwarding an HTLC to an offline peer. LND was returning
26+
`unknown_next_peer` (which carries the permanent failure bit), causing
27+
senders to permanently remove the channel from their routing graph and
28+
lose routing revenue. The correct error per BOLT-4 is
29+
`temporary_channel_failure` with a `channel_update` reflecting the
30+
disabled channel, allowing senders to retry via a different path while
31+
keeping the channel available for future routing once the peer reconnects.
32+
2433
* Bitcoind outbound peer health checks [now use](https://github.com/lightningnetwork/lnd/pull/10686)
2534
`getnetworkinfo.connections_out` instead of `getpeerinfo`. The same PR also
2635
[clarifies](https://github.com/lightningnetwork/lnd/issues/10568) the ZMQ

0 commit comments

Comments
 (0)