Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
refactor code: remove unused import (#4010)
Browse files Browse the repository at this point in the history
* remove unused import

* fix test error
  • Loading branch information
spartucus authored and bkchr committed Nov 4, 2019
1 parent cefe4dc commit a7de9df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/authority-discovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ use futures::Future;
use futures_timer::Interval;

use authority_discovery_primitives::{AuthorityDiscoveryApi, AuthorityId, Signature};
use client::{blockchain::HeaderBackend, runtime_api::StorageProof};
use client::blockchain::HeaderBackend;
use error::{Error, Result};
use log::{debug, error, log_enabled, warn};
use network::specialization::NetworkSpecialization;
Expand Down Expand Up @@ -404,7 +404,7 @@ fn hash_authority_id(id: &[u8]) -> Result<libp2p::kad::record::Key> {
#[cfg(test)]
mod tests {
use super::*;
use client::runtime_api::{ApiExt, Core, RuntimeVersion};
use client::runtime_api::{ApiExt, Core, RuntimeVersion, StorageProof};
use futures::channel::mpsc::channel;
use futures::executor::block_on;
use futures::future::poll_fn;
Expand Down

0 comments on commit a7de9df

Please sign in to comment.