Skip to content

Commit

Permalink
Version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
afck committed Dec 18, 2018
1 parent 9ab0989 commit dbb9fae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "threshold_crypto"
# REMINDER: Update version in `README.md` when incrementing:
version = "0.2.1"
version = "0.3.0"
authors = [
"Vladimir Komendantskiy <[email protected]>",
"Andreas Fackler <[email protected]>",
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ An [official security audit](https://github.com/poanetwork/wiki/wiki/Threshold-C

```toml
[dependencies]
rand = "0.4"
threshold_crypto = { version = "0.2", git = "https://github.com/poanetwork/threshold_crypto" }
threshold_crypto = { version = "0.3", git = "https://github.com/poanetwork/threshold_crypto" }
```

`main.rs`:
Expand All @@ -36,8 +35,8 @@ use threshold_crypto::SecretKey;

/// Very basic secret key usage.
fn main() {
let sk0: SecretKey = rand::random();
let sk1: SecretKey = rand::random();
let sk0 = SecretKey::random();
let sk1 = SecretKey::random();

let pk0 = sk0.public_key();

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,8 @@ mod tests {

#[test]
fn test_simple_sig() {
let sk0: SecretKey = random();
let sk1: SecretKey = random();
let sk0 = SecretKey::random();
let sk1 = SecretKey::random();
let pk0 = sk0.public_key();
let msg0 = b"Real news";
let msg1 = b"Fake news";
Expand Down

0 comments on commit dbb9fae

Please sign in to comment.