For my lightning wallet I need to decode lightning network BOLT #11 invoices. The spec uses bech32 encoding but allows for inputs longer than 90 characters. I've added an optional maxLength parameter to the de- and encoder with 90 as the default value. This should be backwards compatible.
Hi,
For my lightning wallet I need to decode lightning network BOLT #11 invoices. The spec uses bech32 encoding but allows for inputs longer than 90 characters. I've added an optional maxLength parameter to the de- and encoder with 90 as the default value. This should be backwards compatible.