Skip to content

Commit b80cca3

Browse files
committed
Merge commit '2d113fbded985964d31c3932ec69a5db037ed19b' into update_2022_10
2d113fb Merge rust-bitcoin/rust-miniscript#472: Fix `pk_len()` for `BareCtx`
2 parents 03869ef + 2d113fb commit b80cca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/miniscript/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,9 +836,9 @@ impl ScriptContext for BareCtx {
836836

837837
fn pk_len<Pk: MiniscriptKey>(pk: &Pk) -> usize {
838838
if pk.is_uncompressed() {
839-
65
839+
66
840840
} else {
841-
33
841+
34
842842
}
843843
}
844844

0 commit comments

Comments
 (0)