diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-26 17:26:41 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-08-18 21:01:43 +0800 |
commit | 6c672a55c0622dfb133b67280fc593a0212eae76 (patch) | |
tree | dc0a8682441bd0f3afb6e46308a52732967e0ebc /eth/downloader | |
parent | 48709d53407ee5b99f8e1717fbaa8edb072ef944 (diff) | |
download | go-tangerine-6c672a55c0622dfb133b67280fc593a0212eae76.tar go-tangerine-6c672a55c0622dfb133b67280fc593a0212eae76.tar.gz go-tangerine-6c672a55c0622dfb133b67280fc593a0212eae76.tar.bz2 go-tangerine-6c672a55c0622dfb133b67280fc593a0212eae76.tar.lz go-tangerine-6c672a55c0622dfb133b67280fc593a0212eae76.tar.xz go-tangerine-6c672a55c0622dfb133b67280fc593a0212eae76.tar.zst go-tangerine-6c672a55c0622dfb133b67280fc593a0212eae76.zip |
[release/1.4.11] eth, eth/downloader: don't forward the DAO challenge header
(cherry picked from commit 071af57bcf516d92a0b56c5bb119d9576d32b5cb)
Diffstat (limited to 'eth/downloader')
-rw-r--r-- | eth/downloader/downloader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 1f9ef598c..2aea30b39 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -542,7 +542,7 @@ func (d *Downloader) fetchHeight(p *peer) (*types.Header, error) { // In the rare scenario when we ended up on a long reorganisation (i.e. none of // the head links match), we do a binary search to find the common ancestor. func (d *Downloader) findAncestor(p *peer, height uint64) (uint64, error) { - glog.V(logger.Debug).Infof("%v: looking for common ancestor", p) + glog.V(logger.Debug).Infof("%v: looking for common ancestor (remote height %d)", p, height) // Figure out the valid ancestor range to prevent rewrite attacks floor, ceil := int64(-1), d.headHeader().Number.Uint64() |