From d95b737645cbfd42ee6aacd942dd2890e0437bce Mon Sep 17 00:00:00 2001 From: Jeff Burdges Date: Mon, 8 Apr 2019 16:25:02 +0200 Subject: [PATCH] unneeded imports --- src/single.rs | 2 +- src/verifiers.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/single.rs b/src/single.rs index e6f20d9..1f255e4 100644 --- a/src/single.rs +++ b/src/single.rs @@ -24,7 +24,7 @@ //! https://github.com/poanetwork/hbbft/blob/38178af1244ddeca27f9d23750ca755af6e886ee/src/crypto/serde_impl.rs#L95 use pairing::{CurveAffine, CurveProjective, Field}; // Engine, PrimeField, SqrtField -use rand::{Rand, Rng, thread_rng}; +use rand::{Rng, thread_rng}; // use rand::prelude::*; // ThreadRng,thread_rng // use rand_chacha::ChaChaRng; diff --git a/src/verifiers.rs b/src/verifiers.rs index 2faeb38..5687d58 100644 --- a/src/verifiers.rs +++ b/src/verifiers.rs @@ -8,7 +8,6 @@ use std::collections::HashMap; // use std::hash::Hash; // Hasher use pairing::{CurveAffine, CurveProjective}; // Engine, Field, PrimeField, SqrtField -use rand::{Rand, Rng}; use super::*;