From db76a63669bac1880a1849e54e18167fa060493c Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Wed, 25 Jul 2018 17:11:27 -0700 Subject: [PATCH] Fix to_v0_p2wsh docs --- src/blockdata/script.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockdata/script.rs b/src/blockdata/script.rs index a3544ab..211ba62 100644 --- a/src/blockdata/script.rs +++ b/src/blockdata/script.rs @@ -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();