From: Viktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com> Date: Sat, 26 Nov 2022 07:47:11 +0000 (+0100) Subject: Add `ChannelManager::PeerState::latest_features` docs X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=a21be3037816e8e70a865ae6aaba5b0737b5c5fa;p=rust-lightning Add `ChannelManager::PeerState::latest_features` docs --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 03a150e4f..0bad0111a 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -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, }