Skip to content

Commit 47122e8

Browse files
authored
Merge pull request #4517 from lexe-app/phlip9/fix-feature-zero-conf
types: fix zero conf feature missing `clear_zero_conf`
2 parents 38a62c3 + 28f10a5 commit 47122e8

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

lightning-types/src/features.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,17 @@ mod sealed {
649649
supports_payment_metadata,
650650
requires_payment_metadata
651651
);
652-
define_feature!(51, ZeroConf, [InitContext, NodeContext, ChannelTypeContext],
652+
define_feature!(
653+
51,
654+
ZeroConf,
655+
[InitContext, NodeContext, ChannelTypeContext],
653656
"Feature flags for accepting channels with zero confirmations. Called `option_zeroconf` in the BOLTs",
654-
set_zero_conf_optional, set_zero_conf_required, supports_zero_conf, requires_zero_conf);
657+
set_zero_conf_optional,
658+
set_zero_conf_required,
659+
clear_zero_conf,
660+
supports_zero_conf,
661+
requires_zero_conf
662+
);
655663
define_feature!(
656664
55,
657665
Keysend,

0 commit comments

Comments
 (0)