Fix to_v0_p2wsh docs

This commit is contained in:
Carl Dong 2018-07-25 17:11:27 -07:00 committed by GitHub
parent a7aff1372e
commit db76a63669
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() .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 { pub fn to_v0_p2wsh(&self) -> Script {
let mut tmp = [0; 32]; let mut tmp = [0; 32];
let mut sha2 = Sha256::new(); let mut sha2 = Sha256::new();