lightning-onion icon indicating copy to clipboard operation
lightning-onion copied to clipboard

crypto: relax failure message length check

Open joostjager opened this issue 3 years ago • 0 comments

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.

joostjager avatar Sep 13 '22 14:09 joostjager