commit
f7ab3241a7
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue