This commit is contained in:
gregg dourgarian
2016-07-19 13:42:23 -05:00
committed by Arkadiy Paronyan
parent 861c8d0701
commit d67369a01c
13 changed files with 20 additions and 20 deletions

View File

@@ -689,7 +689,7 @@ impl ChainSync {
self.state = SyncState::Waiting;
}
/// Find something to do for a peer. Called for a new peer or when a peer is done with it's task.
/// Find something to do for a peer. Called for a new peer or when a peer is done with its task.
fn sync_peer(&mut self, io: &mut SyncIo, peer_id: PeerId, force: bool) {
if !self.active_peers.contains(&peer_id) {
trace!(target: "sync", "Skipping deactivated peer");