1
0
mirror of git://jb55.com/damus synced 2024-09-18 19:23:49 +00:00

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':
problem = decode_n(b11, &hu5, &data,
&data_len, data_length,
have_n);
&have_n);
break;
case 'x':