Skip to content

Commit e08d3dc

Browse files
committed
f Add comment that scid == 0 means trampoline now
1 parent 2c85a0d commit e08d3dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2557,6 +2557,8 @@ pub struct ChannelManager<
25572557

25582558
/// SCID/SCID Alias -> forward infos.
25592559
///
2560+
/// Note that key of 0 means it's a trampoline payment.
2561+
///
25602562
/// Note that because we may have an SCID Alias as the key we can have two entries per channel,
25612563
/// though in practice we probably won't be receiving HTLCs for a channel both via the alias
25622564
/// and via the classic SCID.

0 commit comments

Comments
 (0)