@@ -8244,13 +8244,13 @@ where
8244
8244
self.best_block.read().unwrap().clone()
8245
8245
}
8246
8246
8247
- /// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8247
+ /// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
8248
8248
/// [`ChannelManager`].
8249
8249
pub fn node_features(&self) -> NodeFeatures {
8250
8250
provided_node_features(&self.default_configuration)
8251
8251
}
8252
8252
8253
- /// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8253
+ /// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
8254
8254
/// [`ChannelManager`].
8255
8255
///
8256
8256
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8266,19 +8266,19 @@ where
8266
8266
provided_bolt12_invoice_features(&self.default_configuration)
8267
8267
}
8268
8268
8269
- /// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8269
+ /// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
8270
8270
/// [`ChannelManager`].
8271
8271
pub fn channel_features(&self) -> ChannelFeatures {
8272
8272
provided_channel_features(&self.default_configuration)
8273
8273
}
8274
8274
8275
- /// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8275
+ /// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
8276
8276
/// [`ChannelManager`].
8277
8277
pub fn channel_type_features(&self) -> ChannelTypeFeatures {
8278
8278
provided_channel_type_features(&self.default_configuration)
8279
8279
}
8280
8280
8281
- /// Fetches the set of [`InitFeatures`] flags which are provided by or required by
8281
+ /// Fetches the set of [`InitFeatures`] flags that are provided by or required by
8282
8282
/// [`ChannelManager`].
8283
8283
pub fn init_features(&self) -> InitFeatures {
8284
8284
provided_init_features(&self.default_configuration)
@@ -8809,15 +8809,15 @@ where
8809
8809
}
8810
8810
}
8811
8811
8812
- /// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8812
+ /// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
8813
8813
/// [`ChannelManager`].
8814
8814
pub(crate) fn provided_node_features(config: &UserConfig) -> NodeFeatures {
8815
8815
let mut node_features = provided_init_features(config).to_context();
8816
8816
node_features.set_keysend_optional();
8817
8817
node_features
8818
8818
}
8819
8819
8820
- /// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8820
+ /// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
8821
8821
/// [`ChannelManager`].
8822
8822
///
8823
8823
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8833,19 +8833,19 @@ pub(crate) fn provided_bolt12_invoice_features(config: &UserConfig) -> Bolt12Inv
8833
8833
provided_init_features(config).to_context()
8834
8834
}
8835
8835
8836
- /// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8836
+ /// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
8837
8837
/// [`ChannelManager`].
8838
8838
pub(crate) fn provided_channel_features(config: &UserConfig) -> ChannelFeatures {
8839
8839
provided_init_features(config).to_context()
8840
8840
}
8841
8841
8842
- /// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8842
+ /// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
8843
8843
/// [`ChannelManager`].
8844
8844
pub(crate) fn provided_channel_type_features(config: &UserConfig) -> ChannelTypeFeatures {
8845
8845
ChannelTypeFeatures::from_init(&provided_init_features(config))
8846
8846
}
8847
8847
8848
- /// Fetches the set of [`InitFeatures`] flags which are provided by or required by
8848
+ /// Fetches the set of [`InitFeatures`] flags that are provided by or required by
8849
8849
/// [`ChannelManager`].
8850
8850
pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
8851
8851
// Note that if new features are added here which other peers may (eventually) require, we
0 commit comments