Currently, when using the ChannelManager::pay_for_offer_from_human_readable_name API, the user gets no access to the offer data retrieved. It would be great to add a new event type that is emitted when the offer has been retrieved and validated, e.g. here:
|
if let Some((completed_requests, mut offer)) = offer_opt { |
Currently, when using the
ChannelManager::pay_for_offer_from_human_readable_nameAPI, the user gets no access to the offer data retrieved. It would be great to add a new event type that is emitted when the offer has been retrieved and validated, e.g. here:rust-lightning/lightning/src/ln/channelmanager.rs
Line 12790 in b543afe