eth: reenable eth/62 until we properly remove it

This commit is contained in:
Péter Szilágyi 2019-05-13 14:05:11 +03:00
parent 8639d929d1
commit f0301b974f
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D

View file

@ -135,7 +135,7 @@ func NewProtocolManager(config *params.ChainConfig, mode downloader.SyncMode, ne
for i, version := range ProtocolVersions { for i, version := range ProtocolVersions {
// Skip protocol version if incompatible with the mode of operation // Skip protocol version if incompatible with the mode of operation
// TODO(karalabe): hard-drop eth/62 from the code base // TODO(karalabe): hard-drop eth/62 from the code base
if version < eth63 { if atomic.LoadUint32(&manager.fastSync) == 1 && version < eth63 {
continue continue
} }
// Compatible; initialise the sub-protocol // Compatible; initialise the sub-protocol