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 1e7d479 commit 5d84704Copy full SHA for 5d84704
lightning/src/ln/script.rs
@@ -86,7 +86,9 @@ impl ShutdownScript {
86
Self(ShutdownScriptImpl::Bolt2(Script::new_v0_wsh(script_hash)))
87
}
88
89
- /// Generates a P2WSH script pubkey from the given segwit version and program.
+ /// Generates a witness script pubkey from the given segwit version and program.
90
+ ///
91
+ /// Note for version-zero witness scripts you must use [`new_p2wpkh`] or [`new_p2wsh`] instead.
92
///
93
/// # Errors
94
0 commit comments