]> git.bitcoin.ninja Git - rust-lightning/commit
Only require description when offer has an amount
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 2 May 2024 16:43:04 +0000 (11:43 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 2 May 2024 21:42:27 +0000 (16:42 -0500)
commite61001f60daa4f3d96c3b3f54cd3a8b00051ebe0
tree7c38a6d9a4a68e15dee8900e9491127fc9738bb2
parentdb7e69667303fb4ba8c2ae6e792d09442260d7ad
Only require description when offer has an amount

The spec was changed to allow excluding an offer description if the
offer doesn't have an amount. However, it is still required when the
amount is set.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/offer.rs