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 7e5bd23 commit cc6e055Copy full SHA for cc6e055
src/descriptor/mod.rs
@@ -410,10 +410,9 @@ impl<Pk: MiniscriptKey + ToPublicKey> Descriptor<Pk> {
410
}
411
412
413
- /// Computes the "witness script" of the descriptor, i.e. the underlying
414
- /// script before any hashing is done. For `Bare`, `Pkh` and `Wpkh` this
415
- /// is the scriptPubkey; for `ShWpkh` and `Sh` this is the redeemScript;
416
- /// for the others it is the witness script.
+ /// Computes the the underlying script before any hashing is done. For
+ /// `Bare`, `Pkh` and `Wpkh` this is the scriptPubkey; for `ShWpkh` and `Sh`
+ /// this is the redeemScript; for the others it is the witness script.
417
///
418
/// # Errors
419
/// If the descriptor is a taproot descriptor.
0 commit comments