Skip to content

Commit

Permalink
use p256k1 v6 to get proper serde support for curve structs (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoloki authored Nov 28, 2023
1 parent fd143c8 commit 3cc9ddb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ num-traits = "0.2"
polynomial = { version = "0.2.5", features = ["serde"] }
primitive-types = "0.12"
rand_core = "0.6"
p256k1 = { version = "5.5", default-features = false }
p256k1 = { version = "6.0", default-features = false }
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10"
thiserror = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub struct SignatureShare {

#[allow(non_snake_case)]
/// An aggregated group signature
#[derive(Clone)]
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub struct Signature {
/// The sum of the public nonces with commitments to the signed message
pub R: Point,
Expand Down

0 comments on commit 3cc9ddb

Please sign in to comment.