Skip to content

Commit

Permalink
fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SurfingNerd committed Jul 7, 2024
1 parent 05d9a0c commit 8c75682
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions crates/ethcore/src/engines/hbbft/hbbft_network_fork_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,16 +298,15 @@ impl HbbftNetworkForkManager {
#[cfg(test)]
mod tests {

use std::{fs, str::FromStr};
use std::str::FromStr;

use crate::engines::{hbbft::test::hbbft_test_client::HbbftTestClient, signer::from_keypair};
use crate::engines::{hbbft::{hbbft_network_fork_manager::HbbftNetworkForkManager, NodeId}, signer::from_keypair};

use super::*;
use ethereum_types::Address;

use ethjson::spec::hbbft::HbbftNetworkFork;
use hbbft::sync_key_gen::{Ack, Part};

use crypto::publickey::{KeyPair, Secret};
use parking_lot::RwLock;
//use parity_crypto::publickey::{KeyPair, Secret};

#[test]
Expand All @@ -330,7 +329,7 @@ mod tests {
let signer = from_keypair(key1);

//let signer = Box::new(Signer (key1));
let signer_lock = Arc::new(RwLock::new(Some(signer)));
let signer_lock = std::sync::Arc::new(RwLock::new(Some(signer)));

let own_id = NodeId::default();
fork_manager.initialize(own_id, 8, vec![test_fork]);
Expand Down

0 comments on commit 8c75682

Please sign in to comment.