status waiting

This commit is contained in:
Nikolay Volf 2016-02-04 04:12:41 +03:00
parent c3d0ed6e69
commit 20ca72ee0c

View File

@ -532,7 +532,7 @@ impl ChainSync {
/// Enter waiting state
fn pause_sync(&mut self) {
trace!(target: "sync", "Block queue full, pausing sync");
//self.state = SyncState::Waiting;
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.