Fix to_v0_p2wsh docs
This commit is contained in:
parent
a7aff1372e
commit
db76a63669
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue