Return payment address when adding hold invoices #4820
Labels
enhancement
Improvements to existing features / behaviour
feature request
Requests for new features
gRPC
hodl-invoices
invoices
Background
In pull request 4752 the payment address secret was added to the response of invoices added
However there is another way to add invoices, which is the add hold invoice API, and to be consistent this should return the payment address as well
Currently this method in the invoices sub-server only returns the payment request in its result.
A workaround would be to lookup the invoice and retrieve the payment address that way.
The text was updated successfully, but these errors were encountered: