File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -67,4 +67,5 @@ check-cfg = [
67
67
" cfg(require_route_graph_test)" ,
68
68
" cfg(splicing)" ,
69
69
" cfg(async_payments)" ,
70
+ " cfg(simple_close)" ,
70
71
]
Original file line number Diff line number Diff line change @@ -155,4 +155,6 @@ RUSTFLAGS="--cfg=splicing" cargo test --verbose --color always -p lightning
155
155
[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
156
156
RUSTFLAGS=" --cfg=async_payments" cargo test --verbose --color always -p lightning
157
157
[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
158
+ RUSTFLAGS=" --cfg=simple_close" cargo test --verbose --color always -p lightning
159
+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
158
160
RUSTFLAGS=" --cfg=lsps1_service" cargo test --verbose --color always -p lightning-liquidity
Original file line number Diff line number Diff line change @@ -13379,7 +13379,7 @@ pub(crate) fn provided_channel_type_features(config: &UserConfig) -> ChannelType
13379
13379
/// [`ChannelManager`].
13380
13380
pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
13381
13381
// 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
13383
13383
// [`ErroringMessageHandler`].
13384
13384
let mut features = InitFeatures::empty();
13385
13385
features.set_data_loss_protect_required();
@@ -13395,6 +13395,8 @@ pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
13395
13395
features.set_zero_conf_optional();
13396
13396
features.set_route_blinding_optional();
13397
13397
features.set_provide_storage_optional();
13398
+ #[cfg(simple_close)]
13399
+ features.set_simple_close_optional();
13398
13400
if config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx {
13399
13401
features.set_anchors_zero_fee_htlc_tx_optional();
13400
13402
}
Original file line number Diff line number Diff line change @@ -271,6 +271,8 @@ impl BaseMessageHandler for ErroringMessageHandler {
271
271
features. set_scid_privacy_optional ( ) ;
272
272
features. set_zero_conf_optional ( ) ;
273
273
features. set_route_blinding_optional ( ) ;
274
+ #[ cfg( simple_close) ]
275
+ features. set_simple_close_optional ( ) ;
274
276
features
275
277
}
276
278
You can’t perform that action at this time.
0 commit comments