Merge pull request #109 from dongcarl/patch-1

Fix to_v0_p2wsh docs
This commit is contained in:
Andrew Poelstra 2018-07-26 00:42:24 +00:00 committed by GitHub
commit f7ab3241a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ impl Script {
.into_script()
}
/// Compute the P2WSH output corresponding to this redeem script
/// Compute the P2WSH output corresponding to this witness script
pub fn to_v0_p2wsh(&self) -> Script {
let mut tmp = [0; 32];
let mut sha2 = Sha256::new();