diff --git a/Cargo.lock b/Cargo.lock index cf59e8ea..f7c2af35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -168,7 +168,7 @@ dependencies = [ [[package]] name = "bp-consensus" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "chrono", @@ -181,7 +181,7 @@ dependencies = [ [[package]] name = "bp-core" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "bp-consensus", @@ -196,7 +196,7 @@ dependencies = [ [[package]] name = "bp-dbc" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "base85", @@ -209,7 +209,7 @@ dependencies = [ [[package]] name = "bp-seals" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "baid58", diff --git a/Cargo.toml b/Cargo.toml index 5bb192d8..65ccee15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ default-members = [ ] [workspace.package] -version = "0.10.10" +version = "0.10.11" authors = ["Dr Maxim Orlovsky "] homepage = "https://github.com/BP-WG" repository = "https://github.com/BP-WG/bp-core" diff --git a/consensus/src/taproot.rs b/consensus/src/taproot.rs index 08371d7e..f44fddf1 100644 --- a/consensus/src/taproot.rs +++ b/consensus/src/taproot.rs @@ -150,7 +150,11 @@ impl FromStr for XOnlyPk { derive(Serialize, Deserialize), serde(crate = "serde_crate", transparent) )] -pub struct InternalPk(XOnlyPk); +pub struct InternalPk( + #[from] + #[from(XOnlyPublicKey)] + XOnlyPk, +); impl InternalPk { #[inline]