mirror of https://github.com/poanetwork/hbbft.git
clippy and fmt
This commit is contained in:
parent
ad5f725b2e
commit
dcbc065388
|
@ -1,6 +1,6 @@
|
|||
use crypto::PublicKey;
|
||||
use threshold_decryption::EncryptionSchedule;
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use threshold_decryption::EncryptionSchedule;
|
||||
|
||||
#[derive(Clone, Copy, Eq, PartialEq, Serialize, Deserialize, Hash, Debug)]
|
||||
pub enum NodeChange<N> {
|
||||
|
|
|
@ -2,7 +2,6 @@ use std::collections::btree_map::Entry;
|
|||
use std::collections::BTreeMap;
|
||||
use std::sync::Arc;
|
||||
|
||||
use bincode;
|
||||
use derivative::Derivative;
|
||||
use rand::{Rand, Rng};
|
||||
use serde::{de::DeserializeOwned, Serialize};
|
||||
|
|
Loading…
Reference in New Issue