Skip to content

Commit ffaf9bc

Browse files
committed
Add note about SCID collisions in PaymentPathFailed
This isn't specific to 0-conf but is useful for users to note as the network moves towards more SCID aliases.
1 parent 86ad252 commit ffaf9bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/util/events.rs

+4
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ pub enum Event {
331331
path: Vec<RouteHop>,
332332
/// The channel responsible for the failed payment path.
333333
///
334+
/// Note that for route hints or for the first hop in a path this may be an SCID alias and
335+
/// may not refer to a channel in the public network graph. These aliases may also collide
336+
/// with channels in the public network graph.
337+
///
334338
/// If this is `Some`, then the corresponding channel should be avoided when the payment is
335339
/// retried. May be `None` for older [`Event`] serializations.
336340
short_channel_id: Option<u64>,

0 commit comments

Comments
 (0)