bolt11: fix another crash on unknown fields

This commit is contained in:
William Casarin
2022-12-22 16:07:52 -08:00
parent 68e9c127f9
commit 514d9f4201

View File

@@ -553,7 +553,7 @@ struct bolt11 *bolt11_decode_nosig(const tal_t *ctx, const char *str, u5 **sig,
case 'n': case 'n':
problem = decode_n(b11, &hu5, &data, problem = decode_n(b11, &hu5, &data,
&data_len, data_length, &data_len, data_length,
have_n); &have_n);
break; break;
case 'x': case 'x':