Reverting check if block queue is empty

This commit is contained in:
Tomasz Drwięga 2016-03-17 11:47:41 +01:00
parent 0e7778a7b7
commit b1557b547b

View File

@ -317,7 +317,7 @@ impl<V> Client<V> where V: Verifier {
}
{
if !imported_blocks.is_empty() {
if !imported_blocks.is_empty() && self.block_queue.queue_info().is_empty() {
let (enacted, retracted) = self.calculate_enacted_retracted(import_results);
io.send(NetworkIoMessage::User(SyncMessage::NewChainBlocks {
imported: imported_blocks,