diff options
author | Martin Holst Swende <martin@swende.se> | 2018-11-07 20:47:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-07 20:47:11 +0800 |
commit | eea3ae42a3d9bcbd33474c0e482754c5196a469f (patch) | |
tree | accac7a5839c0f705482bbfe4ac08c95bee8b795 /eth | |
parent | dc6648bb58fb37f7b5d9fd8e7ffbeb4cf45492fd (diff) | |
download | dexon-eea3ae42a3d9bcbd33474c0e482754c5196a469f.tar.gz dexon-eea3ae42a3d9bcbd33474c0e482754c5196a469f.tar.zst dexon-eea3ae42a3d9bcbd33474c0e482754c5196a469f.zip |
core, eth/downloader: fix validation flaw, fix downloader printout flaw (#17974)
Diffstat (limited to 'eth')
-rw-r--r-- | eth/downloader/downloader.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index f01a8fdbd..56c54c8ed 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -740,6 +740,7 @@ func (d *Downloader) findAncestor(p *peerConnection, height uint64) (uint64, err return 0, errBadPeer } start = check + hash = h case <-timeout: p.log.Debug("Waiting for search header timed out", "elapsed", ttl) |