remove re-export of parking_lot in util (#6435)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
/// It can also report validators for misbehaviour with two levels: `reportMalicious` and `reportBenign`.
|
||||
|
||||
use std::sync::Weak;
|
||||
use parking_lot::RwLock;
|
||||
use util::*;
|
||||
|
||||
use futures::Future;
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
use std::collections::BTreeMap;
|
||||
use std::sync::Weak;
|
||||
use engines::{Call, Engine};
|
||||
use util::{Bytes, H256, Address, RwLock};
|
||||
use parking_lot::RwLock;
|
||||
use util::{Bytes, H256, Address};
|
||||
use ids::BlockId;
|
||||
use header::{BlockNumber, Header};
|
||||
use client::{Client, BlockChainClient};
|
||||
|
||||
@@ -21,6 +21,7 @@ use futures::Future;
|
||||
use native_contracts::ValidatorSet as Provider;
|
||||
use hash::keccak;
|
||||
|
||||
use parking_lot::RwLock;
|
||||
use util::*;
|
||||
use util::cache::MemoryLruCache;
|
||||
use rlp::{UntrustedRlp, RlpStream};
|
||||
|
||||
Reference in New Issue
Block a user