Skip to content

Commit 7b7bb88

Browse files
committed
cargo fmt --all -- --config imports_granularity=Crate
1 parent 0553b88 commit 7b7bb88

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/ethcore/sync/src/chain/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,9 +1419,9 @@ impl ChainSync {
14191419

14201420
// communicate with this peer in any case if we are on the same block.
14211421
// more about: https://github.com/DMDcoin/diamond-node/issues/173
1422-
1422+
14231423
//let communicate_with_peer = chain_info.best_block_hash == peer_latest;
1424-
1424+
14251425
let communicate_with_peer = true;
14261426

14271427
// on a distributed real network, 3 seconds is about they physical minimum.

crates/ethcore/sync/src/chain/propagator.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ impl ChainSync {
232232
let peer_info = self.peers.get_mut(&peer_id)
233233
.expect("peer_id is form peers; peers is result of select_peers_for_transactions; select_peers_for_transactions selects peers from self.peers; qed");
234234

235-
236235
let mut id: Option<ethereum_types::H512> = None;
237236
let mut is_hashes = false;
238237

0 commit comments

Comments
 (0)