From 68e4156143c1c0d8402483487ec52d762948d713 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Thu, 24 Mar 2016 14:29:54 +0000 Subject: [PATCH] Don't care if engaged in sync since it's typically doing so. --- rpc/src/v1/impls/eth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/src/v1/impls/eth.rs b/rpc/src/v1/impls/eth.rs index 6a70aad2f..2f8575986 100644 --- a/rpc/src/v1/impls/eth.rs +++ b/rpc/src/v1/impls/eth.rs @@ -403,7 +403,7 @@ impl Eth for EthClient // check if we're still syncing and return empty strings in that case { let sync = take_weak!(self.sync); - if sync.status().state != SyncState::Idle || client.queue_info().total_queue_size() > MAX_QUEUE_SIZE_TO_MINE_ON { + 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())); }