lightning / bolts

BOLT: Basis of Lightning Technology (Lightning Network Specifications)
2.11k stars 491 forks source link

missing bolt11 example where `n` field must be verified by reader #1184

Closed dni closed 2 months ago

dni commented 4 months ago

if i am not mistaken, none of the valid bolt11 examples actually including a valid n tag, which should be verified by a reader if existing.

i used this example invoice for testing

lnbc10n1p0v27vqpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqnp4q0n326hr8v9zprg8gsvezcch06gfaqqhde2aj730yg0durunfhv66sp5zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygsdqjv3jhxcmjd9c8g6t0dcjctywagxza9lahzzf8yrd4m4dn8lx7q9dtf5896pfx2jc30dv2w8vw38j2kpr7trhfuqdkavr2925n2f85g0uzansyy5pusrwansemqp0ux0x3
t-bast commented 2 months ago

Please open a PR to add this test vector if you feel this is useful. I don't think we need to keep an issue open about this though.