From 391ef7e6644c8b5ebbaeccc23180990254be3cc4 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Sat, 6 Feb 2016 23:03:26 +0300 Subject: [PATCH] actually should be this way --- sync/src/chain.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sync/src/chain.rs b/sync/src/chain.rs index 63965c676..2acc86fc0 100644 --- a/sync/src/chain.rs +++ b/sync/src/chain.rs @@ -1150,11 +1150,11 @@ impl ChainSync { self.check_resume(io); if self.state == SyncState::Idle { - let peers = self.propagade_new_hashes(io); - trace!(target: "sync", "Sent new hashes to peers: {:?}", peers); - let peers = self.propagade_blocks(io); trace!(target: "sync", "Sent latest block to peers: {:?}", peers); + + let peers = self.propagade_new_hashes(io); + trace!(target: "sync", "Sent new hashes to peers: {:?}", peers); } } }