Skip to content

Commit 433e487

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 0e8607f commit 433e487

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
@@ -325,6 +325,10 @@ pub enum Event {
325325
path: Vec<RouteHop>,
326326
/// The channel responsible for the failed payment path.
327327
///
328+
/// Note that for route hints or for the first hop in a path this may be an SCID alias and
329+
/// may not refer to a channel in the public network graph. These aliases may also collide
330+
/// with channels in the public network graph.
331+
///
328332
/// If this is `Some`, then the corresponding channel should be avoided when the payment is
329333
/// retried. May be `None` for older [`Event`] serializations.
330334
short_channel_id: Option<u64>,

0 commit comments

Comments
 (0)