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 { |