File tree 2 files changed +2
-3
lines changed 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ features = ["nightly", "batch"]
23
23
24
24
[dependencies ]
25
25
curve25519-dalek = { version = " =4.0.0-pre.2" , default-features = false }
26
- ed25519 = { version = " 1 " , default-features = false }
26
+ ed25519 = { version = " =2.0.0-pre.0 " , default-features = false }
27
27
merlin = { version = " 3" , default-features = false , optional = true }
28
28
rand = { version = " 0.8" , default-features = false , optional = true }
29
29
rand_core = { version = " 0.6" , default-features = false , optional = true }
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ use core::fmt::Debug;
14
14
15
15
use curve25519_dalek:: edwards:: CompressedEdwardsY ;
16
16
use curve25519_dalek:: scalar:: Scalar ;
17
- use ed25519:: signature:: Signature as _;
18
17
19
18
use crate :: constants:: * ;
20
19
use crate :: errors:: * ;
@@ -194,7 +193,7 @@ impl TryFrom<&ed25519::Signature> for InternalSignature {
194
193
type Error = SignatureError ;
195
194
196
195
fn try_from ( sig : & ed25519:: Signature ) -> Result < InternalSignature , SignatureError > {
197
- InternalSignature :: from_bytes ( sig. as_bytes ( ) )
196
+ InternalSignature :: from_bytes ( sig. as_ref ( ) )
198
197
}
199
198
}
200
199
You can’t perform that action at this time.
0 commit comments