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-Tag: v0.0.114-beta~67^2~15 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=48f9c72eb6d27735c073eb27ea770b853fc72a73;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, }