Return the invoice when requesting a refund
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 12 Mar 2024 00:00:40 +0000 (19:00 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Apr 2024 14:12:30 +0000 (09:12 -0500)
commit12c3a24bebe67ba406609fdfe6747da9c1449756
tree52c4245319cd9df3ae14724b6264b2c47d082796
parent01814dcef28fd13e98223cb1fbc1d2d6abe3776d
Return the invoice when requesting a refund

When sending an invoice for a refund, information from the invoice may
be useful for caller. For instance, the payment_hash can be used to
track whether the refund was paid. Return the invoice to facilitate this
use case.
lightning/src/ln/channelmanager.rs
lightning/src/ln/offers_tests.rs