[invoice] Ignore InvalidLength fields
authorMatt Corallo <git@bluematt.me>
Tue, 24 Aug 2021 23:15:07 +0000 (23:15 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 31 Aug 2021 21:29:51 +0000 (21:29 +0000)
BOLT 11 states that a reader "MUST skip over...`p`, `h`, `s` or `n`
fields that do NOT have data_lengths of 52, 52, 52 or 53,
respectively." Here we do so by simply ignoring any invalid-length
field.


No differences found