Skip to content

Commit 14e4df4

Browse files
committed
cleanup comments and typos
1 parent d5849fc commit 14e4df4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl ChainSync {
385385
let peers = self.get_consensus_peers();
386386
trace!(target: "sync", "Sending proposed blocks to {:?}", peers);
387387
for block in proposed {
388-
// todo: sometimes we get at the receiving end blocks, with mismatching total difficulty,
388+
// todo: sometimes we get at the receiving end blocks, with mismatched total difficulty,
389389
// so we ignore those blocks on import.
390390
// might that be the case if we are sending more than 1 block here ?
391391
// more about: https://github.com/DMDcoin/diamond-node/issues/61

crates/net/network-devp2p/src/session_container.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,6 @@ impl SessionContainer {
418418
}
419419
} else {
420420
trace!(target: "network", "No session active for {node_id} with peer id {existing_peer_id}");
421-
// todo: make sure the mapping is rewritten.
422421
}
423422

424423
trace!(target: "network", "Session {peer_id} has a duplicate :{existing_peer_id} {node_id}");

0 commit comments

Comments
 (0)