Skip to content

Commit

Permalink
Fix witness comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding committed May 10, 2022
1 parent 7e5bd23 commit cc6e055
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/descriptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,9 @@ impl<Pk: MiniscriptKey + ToPublicKey> Descriptor<Pk> {
}
}

/// Computes the "witness script" of the descriptor, i.e. 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.
/// 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.
///
/// # Errors
/// If the descriptor is a taproot descriptor.
Expand Down

0 comments on commit cc6e055

Please # to comment.