MUST skip over unknown fields, OR an f field with unknown version, OR p, h, or n fields that do NOT have data_lengths of 52, 52, or 53, respectively.
Currently, the decode function will throw with parser is not a function if a payment request contains an unknown tagged field. This PR skips over the field if no name or parser is found.
According to the bolt 11 spec, a reader should skip unknown tagged fields.
Relevant section
Currently, the decode function will throw with
parser is not a function
if a payment request contains an unknown tagged field. This PR skips over the field if no name or parser is found.