We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87d274b + a073c7b commit d062e71Copy full SHA for d062e71
bitcoin/src/blockdata/script/witness_program.rs
@@ -133,7 +133,7 @@ impl WitnessProgram {
133
self.version == WitnessVersion::V0 && self.program.len() == 20
134
}
135
136
- /// Returns true if this witness program is for a P2WPSH output.
+ /// Returns true if this witness program is for a P2WSH output.
137
pub fn is_p2wsh(&self) -> bool {
138
self.version == WitnessVersion::V0 && self.program.len() == 32
139
0 commit comments