We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d672f15 commit f5102b0Copy full SHA for f5102b0
lightning/src/ln/script.rs
@@ -124,7 +124,8 @@ impl ShutdownScript {
124
125
/// Returns whether the shutdown script is compatible with the features as defined by BOLT #2.
126
///
127
- /// Specifically, checks for compliance with feature `option_shutdown_anysegwit`.
+ /// Specifically, checks for compliance with feature `option_shutdown_anysegwit` and/or
128
+ /// `option_simple_close`.
129
pub fn is_compatible(&self, features: &InitFeatures) -> bool {
130
match &self.0 {
131
ShutdownScriptImpl::Legacy(_) => true,
0 commit comments