Skip to content

Commit

Permalink
Release 0.28.1
Browse files Browse the repository at this point in the history
[email protected]

Generated by cargo-workspaces
  • Loading branch information
JeremyRubin committed May 22, 2022
1 parent 71a6993 commit 04b4d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sapio-bitcoin"
version = "0.28.0"
version = "0.28.1"

authors = ["Jeremy Rubin <[email protected]>", "Andrew Poelstra <[email protected]>"]
license = "CC0-1.0"
Expand Down Expand Up @@ -54,7 +54,7 @@ optional = true
serde_derive = "<1.0.99, >= 1.0.0"
serde_json = "<1.0.45, >= 1.0.0"
serde_test = "1"
secp256k1 = { version = "^0.21.2", features = [ "recovery", "rand-std" ], package= "sapio-secp256k1" }
secp256k1 = { version = "^0.22.0", features = [ "recovery", "rand-std" ], package= "sapio-secp256k1" }
bincode = "1.3.1"
jsonschema-valid = "0.2.0"
# We need to pin ryu (transitive dep from serde_json) to stay compatible with Rust 1.22.0
Expand Down
2 changes: 1 addition & 1 deletion src/util/schnorr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl TapTweak for UntweakedKeyPair {
/// The tweaked key and its parity.
fn tap_tweak<C: Verification>(mut self, secp: &Secp256k1<C>, merkle_root: Option<TapBranchHash>) -> TweakedKeyPair {
let pubkey = ::XOnlyPublicKey::from_keypair(&self);
let tweak_value = TapTweakHash::from_key_and_tweak(pubkey, merkle_root).into_inner();
let tweak_value = TapTweakHash::from_key_and_tweak(pubkey.0, merkle_root).into_inner();
self.tweak_add_assign(&secp, &tweak_value).expect("Tap tweak failed");
TweakedKeyPair(self)
}
Expand Down

0 comments on commit 04b4d24

Please sign in to comment.