Skip to content

Commit b74a6d7

Browse files
committed
f Set features for ErroringMessageHandler
1 parent b99b452 commit b74a6d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13379,7 +13379,7 @@ pub(crate) fn provided_channel_type_features(config: &UserConfig) -> ChannelType
1337913379
/// [`ChannelManager`].
1338013380
pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
1338113381
// Note that if new features are added here which other peers may (eventually) require, we
13382-
// should also add the corresponding (optional) bit to the [`ChannelMessageHandler`] impl for
13382+
// should also add the corresponding (optional) bit to the [`BaseMessageHandler`] impl for
1338313383
// [`ErroringMessageHandler`].
1338413384
let mut features = InitFeatures::empty();
1338513385
features.set_data_loss_protect_required();

lightning/src/ln/peer_handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ impl BaseMessageHandler for ErroringMessageHandler {
271271
features.set_scid_privacy_optional();
272272
features.set_zero_conf_optional();
273273
features.set_route_blinding_optional();
274+
#[cfg(simple_close)]
275+
features.set_simple_close_optional();
274276
features
275277
}
276278

0 commit comments

Comments
 (0)