lnwire: allow longer failure messages

This fixes an incompatibility where lnd enforces a strict 256 byte
failure message, where as the spec sets this only as the recommended
length.
This commit is contained in:
Joost Jager committed 2022-12-02 14:27:59 +01:00
1 parent 5ff5838d74
commit 4c8ea29336
8 files changed
+111 -8

No files matched your search

@@ -5,6 +5,10 @@
* Warning messages from peers are now recognized and
[logged](https://github.com/lightningnetwork/lnd/pull/6546) by lnd.
* Decrypt onion failure messages with a [length greater than 256
bytes](https://github.com/lightningnetwork/lnd/pull/6913). This moves LND
closer to being spec compliant.
## RPC
* The `RegisterConfirmationsNtfn` call of the `chainnotifier` RPC sub-server