Skip to content

Commit

Permalink
Merge pull request #61 from BP-WG/consensus
Browse files Browse the repository at this point in the history
Consensus hotfix breaking API change
  • Loading branch information
dr-orlovsky authored Oct 9, 2023
2 parents ed640a8 + 3b74397 commit 692e25e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ default-members = [
]

[workspace.package]
version = "0.10.10"
version = "0.10.11"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://github.com/BP-WG"
repository = "https://github.com/BP-WG/bp-core"
Expand Down
6 changes: 5 additions & 1 deletion consensus/src/taproot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 692e25e

Please sign in to comment.