Unsaved file. Duh.
This commit is contained in:
parent
d416e5d9bc
commit
7208f9f95c
@ -458,21 +458,12 @@ impl ChainSync {
|
||||
// Disable the peer for this syncing round if it gives invalid chain
|
||||
if !valid_response {
|
||||
trace!(target: "sync", "{} Deactivated for invalid headers response", peer_id);
|
||||
<<<<<<< HEAD
|
||||
self.deactivate_peer(io, peer_id);
|
||||
}
|
||||
if headers.is_empty() && self.state == SyncState::ChainHead {
|
||||
// Peer does not have any new subchain heads, deactivate it nd try with another
|
||||
trace!(target: "sync", "{} Deactivated for no data", peer_id);
|
||||
self.deactivate_peer(io, peer_id);
|
||||
=======
|
||||
self.deactivate_peer(io, peer_id);
|
||||
}
|
||||
if headers.is_empty() {
|
||||
// Peer does not have any new subchain heads, deactivate it nd try with another
|
||||
trace!(target: "sync", "{} Deactivated for no data", peer_id);
|
||||
self.deactivate_peer(io, peer_id);
|
||||
>>>>>>> master
|
||||
}
|
||||
match self.state {
|
||||
SyncState::ChainHead => {
|
||||
|
Loading…
Reference in New Issue
Block a user