Skip to content

Commit d062e71

Browse files
committed
Merge rust-bitcoin#5036: chore: fix doc typo P2WPSH → P2WSH
a073c7b chore: fix doc typo P2WPSH → P2WSH (Galoretka) Pull request description: fix doc typo P2WPSH → P2WSH ACKs for top commit: apoelstra: ACK a073c7b; successfully ran local tests; heh Tree-SHA512: e0c3b99c66da174ffa5f214a99e430c519f6690fcd78577a7d4d578980c94061c8808dd9adc160ba28c5a8c6b2808a26e2dc02117d3e9a0af29c77d39f94ef4a
2 parents 87d274b + a073c7b commit d062e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/src/blockdata/script/witness_program.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl WitnessProgram {
133133
self.version == WitnessVersion::V0 && self.program.len() == 20
134134
}
135135

136-
/// Returns true if this witness program is for a P2WPSH output.
136+
/// Returns true if this witness program is for a P2WSH output.
137137
pub fn is_p2wsh(&self) -> bool {
138138
self.version == WitnessVersion::V0 && self.program.len() == 32
139139
}

0 commit comments

Comments
 (0)