From 7929af67c8b875dd62d644f18c092b1dd44b421a Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Thu, 17 Mar 2016 15:02:18 +0100 Subject: [PATCH] propagation is out --- sync/src/chain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync/src/chain.rs b/sync/src/chain.rs index b68b2b250..e1f0032a1 100644 --- a/sync/src/chain.rs +++ b/sync/src/chain.rs @@ -1297,9 +1297,9 @@ impl ChainSync { if io.is_chain_queue_empty() { // Notify miner self.miner.chain_new_blocks(io.chain(), imported, invalid, enacted, retracted); + // Propagate latests blocks + self.propagate_latest_blocks(io); } - // Propagate latests blocks - self.propagate_latest_blocks(io); // TODO [todr] propagate transactions? }