diff options
author | Stuart Stock <stuart@int08h.com> | 2018-02-24 23:18:52 -0600 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2018-02-24 23:18:52 -0600 |
commit | 1096512ab6d8f221fde003e989e383366e48a00f (patch) | |
tree | 5e572414192f1a80b4218a4cd87ac477294c1838 /src/sign.rs | |
parent | 270d6a61c91618977e18ba4846e93613a54d097a (diff) | |
download | roughenough-1096512ab6d8f221fde003e989e383366e48a00f.zip |
Clippy suggested fixes/changes
Diffstat (limited to 'src/sign.rs')
-rw-r--r-- | src/sign.rs | 2 |
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), } } |