]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add `ChannelManager::PeerState::latest_features` docs
authorViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Sat, 26 Nov 2022 07:47:11 +0000 (08:47 +0100)
committerViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Fri, 6 Jan 2023 23:52:29 +0000 (00:52 +0100)
lightning/src/ln/channelmanager.rs

index 03a150e4fe208493dea2480abeba968b5b79a877..0bad0111ae760e1494a7971383958672b27300ca 100644 (file)
@@ -464,6 +464,7 @@ pub(crate) enum MonitorUpdateCompletionAction {
 /// State we hold per-peer. In the future we should put channels in here, but for now we only hold
 /// the latest Init features we heard from the peer.
 struct PeerState {
+       /// The latest `InitFeatures` we heard from the peer.
        latest_features: InitFeatures,
 }