Skip to content

Commit a073c7b

Browse files
authored
chore: fix doc typo P2WPSH → P2WSH
1 parent c6bdbe6 commit a073c7b

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)