Skip to content

Commit 5ff8e37

Browse files
Update dependencies
1 parent 965fc06 commit 5ff8e37

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wavesplatform"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
authors = ["peterz <[email protected]>", "DEADBLACKCLOVER <[email protected]>"]
55
description = "Library to work with Waves blockchain (https://waves.tech/)"
66
edition = "2018"
@@ -18,7 +18,7 @@ tiny-bip39 = "1.0.0"
1818

1919
blake2 = "0.9.2"
2020
curve25519-dalek = "2.1.3"
21-
ed25519-dalek = "1.0.1"
21+
ed25519-dalek = "2.0.0"
2222
sha2 = "0.8.0"
2323
sha3 = "0.8.0"
2424

src/util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ pub fn sig_verify(
2626
ed_pubkey[31] &= 0x7F; // should be zero already, but just in case
2727
ed_pubkey[31] |= sign;
2828

29-
PublicKey::from_bytes(&ed_pubkey)
29+
VerifyingKey::from_bytes(&ed_pubkey)
3030
.unwrap()
31-
.verify(message, &Signature::from_bytes(&sig).unwrap())
31+
.verify(message, &Signature::from_bytes(&sig))
3232
.is_ok()
3333
}
3434

0 commit comments

Comments
 (0)