Skip to content

Commit d8c0a2b

Browse files
committed
Docuemnt when PaymentPathFailed::payment_id is Some
The `PaymentPathFailed::payment_id` field has been `Some` since the field was added in 73f601f.
1 parent e1394f3 commit d8c0a2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/events/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ pub enum Event {
520520
PaymentPathFailed {
521521
/// The `payment_id` passed to [`ChannelManager::send_payment`].
522522
///
523+
/// This will be `Some` for all payment paths which failed on LDK 0.0.103 or later.
524+
///
523525
/// [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
524526
/// [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
525527
payment_id: Option<PaymentId>,

0 commit comments

Comments
 (0)