@@ -7663,13 +7663,13 @@ where
7663
7663
self.best_block.read().unwrap().clone()
7664
7664
}
7665
7665
7666
- /// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
7666
+ /// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
7667
7667
/// [`ChannelManager`].
7668
7668
pub fn node_features(&self) -> NodeFeatures {
7669
7669
provided_node_features(&self.default_configuration)
7670
7670
}
7671
7671
7672
- /// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
7672
+ /// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
7673
7673
/// [`ChannelManager`].
7674
7674
///
7675
7675
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -7685,19 +7685,19 @@ where
7685
7685
provided_bolt12_invoice_features(&self.default_configuration)
7686
7686
}
7687
7687
7688
- /// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
7688
+ /// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
7689
7689
/// [`ChannelManager`].
7690
7690
pub fn channel_features(&self) -> ChannelFeatures {
7691
7691
provided_channel_features(&self.default_configuration)
7692
7692
}
7693
7693
7694
- /// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
7694
+ /// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
7695
7695
/// [`ChannelManager`].
7696
7696
pub fn channel_type_features(&self) -> ChannelTypeFeatures {
7697
7697
provided_channel_type_features(&self.default_configuration)
7698
7698
}
7699
7699
7700
- /// Fetches the set of [`InitFeatures`] flags which are provided by or required by
7700
+ /// Fetches the set of [`InitFeatures`] flags that are provided by or required by
7701
7701
/// [`ChannelManager`].
7702
7702
pub fn init_features(&self) -> InitFeatures {
7703
7703
provided_init_features(&self.default_configuration)
@@ -8229,15 +8229,15 @@ where
8229
8229
}
8230
8230
}
8231
8231
8232
- /// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8232
+ /// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
8233
8233
/// [`ChannelManager`].
8234
8234
pub(crate) fn provided_node_features(config: &UserConfig) -> NodeFeatures {
8235
8235
let mut node_features = provided_init_features(config).to_context();
8236
8236
node_features.set_keysend_optional();
8237
8237
node_features
8238
8238
}
8239
8239
8240
- /// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8240
+ /// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
8241
8241
/// [`ChannelManager`].
8242
8242
///
8243
8243
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8253,19 +8253,19 @@ pub(crate) fn provided_bolt12_invoice_features(config: &UserConfig) -> Bolt12Inv
8253
8253
provided_init_features(config).to_context()
8254
8254
}
8255
8255
8256
- /// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8256
+ /// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
8257
8257
/// [`ChannelManager`].
8258
8258
pub(crate) fn provided_channel_features(config: &UserConfig) -> ChannelFeatures {
8259
8259
provided_init_features(config).to_context()
8260
8260
}
8261
8261
8262
- /// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8262
+ /// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
8263
8263
/// [`ChannelManager`].
8264
8264
pub(crate) fn provided_channel_type_features(config: &UserConfig) -> ChannelTypeFeatures {
8265
8265
ChannelTypeFeatures::from_init(&provided_init_features(config))
8266
8266
}
8267
8267
8268
- /// Fetches the set of [`InitFeatures`] flags which are provided by or required by
8268
+ /// Fetches the set of [`InitFeatures`] flags that are provided by or required by
8269
8269
/// [`ChannelManager`].
8270
8270
pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
8271
8271
// Note that if new features are added here which other peers may (eventually) require, we
0 commit comments