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)
committerMatt Corallo <git@bluematt.me>
Mon, 9 Jan 2023 19:42:52 +0000 (19:42 +0000)
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,
 }