summaryrefslogtreecommitdiff
path: root/src/sign.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sign.rs')
-rw-r--r--src/sign.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sign.rs b/src/sign.rs
index e53e566..c81ad38 100644
--- a/src/sign.rs
+++ b/src/sign.rs
@@ -68,7 +68,7 @@ pub struct Signer {
impl Signer {
pub fn new(seed: &[u8]) -> Self {
Signer {
- key_pair: Ed25519KeyPair::from_seed_unchecked(Input::from(&seed)).unwrap(),
+ key_pair: Ed25519KeyPair::from_seed_unchecked(Input::from(seed)).unwrap(),
buf: Vec::with_capacity(256),
}
}