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

Commit

Permalink
Remove unused code (#10762)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm authored and ascjones committed Jun 19, 2019
1 parent 6fc5014 commit 4ee217b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 46 deletions.
1 change: 0 additions & 1 deletion ethcore/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ extern crate tempdir;

mod error;
mod service;
mod stop_guard;

#[cfg(test)]
extern crate kvdb_rocksdb;
Expand Down
5 changes: 0 additions & 5 deletions ethcore/service/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use std::time::Duration;
use ansi_term::Colour;
use ethereum_types::H256;
use io::{IoContext, TimerToken, IoHandler, IoService, IoError};
use stop_guard::StopGuard;

use sync::PrivateTxHandler;
use blockchain::{BlockChainDB, BlockChainDBHandler};
Expand Down Expand Up @@ -84,7 +83,6 @@ pub struct ClientService {
snapshot: Arc<SnapshotService>,
private_tx: Arc<PrivateTxService>,
database: Arc<BlockChainDB>,
_stop_guard: StopGuard,
}

impl ClientService {
Expand Down Expand Up @@ -152,15 +150,12 @@ impl ClientService {

spec.engine.register_client(Arc::downgrade(&client) as _);

let stop_guard = StopGuard::new();

Ok(ClientService {
io_service: Arc::new(io_service),
client: client,
snapshot: snapshot,
private_tx,
database: blockchain_db,
_stop_guard: stop_guard,
})
}

Expand Down
40 changes: 0 additions & 40 deletions ethcore/service/src/stop_guard.rs

This file was deleted.

0 comments on commit 4ee217b

Please sign in to comment.