File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " wavesplatform"
3- version = " 0.3.1 "
3+ version = " 0.3.2 "
44authors = [
" peterz <[email protected] >" ,
" DEADBLACKCLOVER <[email protected] >" ]
55description = " Library to work with Waves blockchain (https://waves.tech/)"
66edition = " 2018"
@@ -18,7 +18,7 @@ tiny-bip39 = "1.0.0"
1818
1919blake2 = " 0.9.2"
2020curve25519-dalek = " 2.1.3"
21- ed25519-dalek = " 1 .0.1 "
21+ ed25519-dalek = " 2 .0.0 "
2222sha2 = " 0.8.0"
2323sha3 = " 0.8.0"
2424
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments