mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 07:23:46 +00:00
comments out issue causing if statement for fullsync
This commit is contained in:
parent
6403996e37
commit
199b9ae1e8
1 changed files with 4 additions and 4 deletions
|
|
@ -240,10 +240,10 @@ func newHandler(config *handlerConfig) (*handler, error) {
|
||||||
// accept each others' blocks until a restart. Unfortunately we haven't figured
|
// accept each others' blocks until a restart. Unfortunately we haven't figured
|
||||||
// out a way yet where nodes can decide unilaterally whether the network is new
|
// out a way yet where nodes can decide unilaterally whether the network is new
|
||||||
// or not. This should be fixed if we figure out a solution.
|
// or not. This should be fixed if we figure out a solution.
|
||||||
if !h.synced.Load() && config.Sync != downloader.FullSync {
|
// if !h.synced.Load() && config.Sync != downloader.FullSync {
|
||||||
log.Warn("Syncing, discarded propagated block", "number", blocks[0].Number(), "hash", blocks[0].Hash())
|
// log.Warn("Syncing, discarded propagated block", "number", blocks[0].Number(), "hash", blocks[0].Hash())
|
||||||
return 0, nil
|
// return 0, nil
|
||||||
}
|
// }
|
||||||
if h.merger.TDDReached() {
|
if h.merger.TDDReached() {
|
||||||
// The blocks from the p2p network is regarded as untrusted
|
// The blocks from the p2p network is regarded as untrusted
|
||||||
// after the transition. In theory block gossip should be disabled
|
// after the transition. In theory block gossip should be disabled
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue