mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth: reenable eth/62 until we properly remove it
This commit is contained in:
parent
8639d929d1
commit
f0301b974f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue