Allow quantity in Refund
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 18 Jan 2023 23:29:31 +0000 (17:29 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 30 Jan 2023 21:44:39 +0000 (15:44 -0600)
commit6236e0d4722cdc9ccf3617f9c2ce73782213c08c
treee3ffece21906bdc651ce37d6a18a16ed729e4077
parent4059677e8e7421c639a4b38eeca1423efb33a3f6
Allow quantity in Refund

The spec always allowed this but the reason was unclear. It's useful if
the refund is for an invoice paid for offer where a quantity was given
in the request. The description in the refund would be from the offer,
which may have given a unit for each item. So allowing a quantity makes
it clear how many items the refund is for.
lightning/src/offers/refund.rs