Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
austinabell committed Jan 12, 2021
1 parent 6c3a013 commit 02c68af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions blockchain/chain_sync/src/sync/peer_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ use beacon::{BeaconPoint, MockBeacon};
use blocks::BlockHeader;
use db::MemoryDB;
use fil_types::verifier::MockVerifier;
use forest_libp2p::{
hello::HelloRequest,
rpc::{RequestId, ResponseChannel},
};
use futures::channel::oneshot;
use forest_libp2p::hello::HelloRequest;
use libp2p::core::PeerId;
use message_pool::{test_provider::TestApi, MessagePool};
use state_manager::StateManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization_tests/tests/block_header_ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#![cfg(feature = "submodule_tests")]

use cid::Cid;
use encoding::{from_slice, to_vec};
use encoding::to_vec;
use forest_blocks::{header, BlockHeader};
use hex::encode;
use serde::Deserialize;
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization_tests/tests/u_message_ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Doesn't run these unless feature specified
#![cfg(feature = "submodule_tests")]

use encoding::{from_slice, to_vec};
use encoding::to_vec;
use forest_message::{unsigned_message, UnsignedMessage};
use hex::encode;
use serde::Deserialize;
Expand Down

0 comments on commit 02c68af

Please sign in to comment.