]> git.bitcoin.ninja Git - rust-lightning/commit
Clarify maximum length of an invoice description
authorElias Rohrer <dev@tnull.de>
Tue, 16 Jul 2024 08:28:58 +0000 (10:28 +0200)
committerElias Rohrer <dev@tnull.de>
Tue, 16 Jul 2024 08:28:58 +0000 (10:28 +0200)
commitfa7ecc56d7b2cb3d03cc55c96d66bdac2414b293
treeec379fe9cab3fcc8559ab506da599f45cf9bc3e8
parentdd5d297d641facad24518cf2668cf1f38caf7dbc
Clarify maximum length of an invoice description

We previously stated in the docs that the invoice description can be at most `1023`
bytes long, which is wrong. According to BOLT 11 it's at most 1023*5 bits (639 bytes) long.
lightning-invoice/src/lib.rs