Skip to content

Commit 32c89cc

Browse files
committed
f - Expand short_channel_id docs
1 parent 6021fba commit 32c89cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/util/events.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ pub enum Event {
204204
/// The payment path that failed.
205205
path: Vec<RouteHop>,
206206
/// The channel responsible for the failed payment path.
207+
///
208+
/// If this is `Some`, then the corresponding channel should be avoided when the payment is
209+
/// retried. May be `None` for older [`Event`] serializations.
207210
short_channel_id: Option<u64>,
208211
#[cfg(test)]
209212
error_code: Option<u16>,

0 commit comments

Comments
 (0)