Move invoice utilities to ChannelManager
#3375
Labels
Take a Friday Leave a Friday
Stomp the Bugs, Without Much Commitment
ChannelManager
#3375
I thought I already opened an issue for this, but apparently not. Now that we swapped the dependency order between
lightning-invoice
andlightning
we can also move the crap we shoved inlightning::ln::bolt11_payment
intoChannelManager
(possibly leaving the code in a separate file), making paying BOLT 11 invoices the same first-class citizen as paying BOLT 12 invoices. We might also consider movingln::invoice_utils
into some kind of builder pattern (or something where we pass a configuration object toChannelManager
and it spits out a BOLT 11) like we have for BOLT 12.The text was updated successfully, but these errors were encountered: