Avoid warning.

This commit is contained in:
Gav Wood 2016-03-24 16:00:32 +00:00
parent ae5eece76f
commit 8dbd6f36b5
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ impl<C, S, A, M, EM> Eth for EthClient<C, S, A, M, EM>
let client = take_weak!(self.client);
// check if we're still syncing and return empty strings in that case
{
let sync = take_weak!(self.sync);
//let sync = take_weak!(self.sync);
if /*sync.status().state != SyncState::Idle ||*/ client.queue_info().total_queue_size() > MAX_QUEUE_SIZE_TO_MINE_ON {
trace!(target: "miner", "Syncing. Cannot give any work.");
return to_value(&(String::new(), String::new(), String::new()));