Skip to content

Commit f5102b0

Browse files
committed
f Adjust comment
1 parent d672f15 commit f5102b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/script.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ impl ShutdownScript {
124124

125125
/// Returns whether the shutdown script is compatible with the features as defined by BOLT #2.
126126
///
127-
/// Specifically, checks for compliance with feature `option_shutdown_anysegwit`.
127+
/// Specifically, checks for compliance with feature `option_shutdown_anysegwit` and/or
128+
/// `option_simple_close`.
128129
pub fn is_compatible(&self, features: &InitFeatures) -> bool {
129130
match &self.0 {
130131
ShutdownScriptImpl::Legacy(_) => true,

0 commit comments

Comments
 (0)