Skip to content

Commit cc6e055

Browse files
committed
Fix witness comment
1 parent 7e5bd23 commit cc6e055

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/descriptor/mod.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,9 @@ impl<Pk: MiniscriptKey + ToPublicKey> Descriptor<Pk> {
410410
}
411411
}
412412

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.
413+
/// Computes the the underlying script before any hashing is done. For
414+
/// `Bare`, `Pkh` and `Wpkh` this is the scriptPubkey; for `ShWpkh` and `Sh`
415+
/// this is the redeemScript; for the others it is the witness script.
417416
///
418417
/// # Errors
419418
/// If the descriptor is a taproot descriptor.

0 commit comments

Comments
 (0)