Merge pull request #1324 from ethcore/renamefield

Update default gas limit, rename field
This commit is contained in:
Marek Kotewicz
2016-06-18 20:22:05 +02:00
committed by GitHub
5 changed files with 7 additions and 7 deletions

View File

@@ -458,12 +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);
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);
self.deactivate_peer(io, peer_id);
}
match self.state {
SyncState::ChainHead => {