Allow parsing Offer without signing_pubkey
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 24 Apr 2024 14:03:56 +0000 (09:03 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 26 Apr 2024 23:14:09 +0000 (18:14 -0500)
commit94d5af663d74177079124f15b40b65e16fbb1b27
tree0b09dab34b90863ca8add4a1c03dae00bcd0ad8f
parent520fecf8fcbe1d162e8a1075d316ca994b9d2fd6
Allow parsing Offer without signing_pubkey

If an offer has at least one path, it may omit the signing pubkey and
use the blinded node id of the last hop of a path to sign an invoice.
Allow parsing such offers but not yet creating them.
lightning/src/offers/offer.rs