File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -664,7 +664,12 @@ pub(super) struct ChannelHolder<Signer: Sign> {
664
664
/// here once the channel is available for normal use, with SCIDs being added once the funding
665
665
/// transaction is confirmed at the channel's required confirmation depth.
666
666
pub ( super ) short_to_id : HashMap < u64 , [ u8 ; 32 ] > ,
667
- /// short channel id -> forward infos. Key of 0 means payments received
667
+ /// SCID/SCID Alias -> forward infos. Key of 0 means payments received.
668
+ ///
669
+ /// Note that because we may have an SCID Alias as the key we can have two entries per channel,
670
+ /// though in practice we probably won't be receiving HTLCs for a channel both via the alias
671
+ /// and via the classic SCID.
672
+ ///
668
673
/// Note that while this is held in the same mutex as the channels themselves, no consistency
669
674
/// guarantees are made about the existence of a channel with the short id here, nor the short
670
675
/// ids in the PendingHTLCInfo!
You can’t perform that action at this time.
0 commit comments