Skip to content

Commit e2c5cb5

Browse files
Update id_to_peer docs with consistency guarantees info
1 parent 9e7c02c commit e2c5cb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,9 @@ where
699699
/// the corresponding channel for the event, as we only have access to the `channel_id` during
700700
/// the handling of the events.
701701
///
702+
/// Note that no consistency guarantees are made about the existence of a peer with the
703+
/// `counterparty_node_id` in our other maps.
704+
///
702705
/// TODO:
703706
/// The `counterparty_node_id` isn't passed with `MonitorEvent`s currently. To pass it, we need
704707
/// to make `counterparty_node_id`'s a required field in `ChannelMonitor`s, which unfortunately

0 commit comments

Comments
 (0)