Skip to content

Commit

Permalink
added pub declaration that was removed by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
Shalevos committed Oct 11, 2021
1 parent 5f89f3a commit 0fe8967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/aggsig/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl KeyPair {
Self::create_from_private_key(&secret)
}

fn create_from_private_key(secret: &BigInt) -> KeyPair {
pub fn create_from_private_key(secret: &BigInt) -> KeyPair {
let ec_point: GE = ECPoint::generator();
let h = HSha512::create_hash(&vec![secret]);
let h_vec = BigInt::to_bytes(&h);
Expand Down

0 comments on commit 0fe8967

Please sign in to comment.