lightning-onion
lightning-onion copied to clipboard
crypto: relax failure message length check
The spec does not dictate but only recommends a length of 256 bytes. Future tlv extensions may push the failure message length over this limit. With this change, receivers can ignore the lengthier extensions without handling it as an unreadable failure.