aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-26 17:26:41 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-26 17:26:41 +0800
commit071af57bcf516d92a0b56c5bb119d9576d32b5cb (patch)
tree231f07213e84944324a1f92c32b5c5a2a4c729cc /eth/downloader
parenta724952f7530d6709abada4d4da727409f703eb3 (diff)
downloaddexon-071af57bcf516d92a0b56c5bb119d9576d32b5cb.tar
dexon-071af57bcf516d92a0b56c5bb119d9576d32b5cb.tar.gz
dexon-071af57bcf516d92a0b56c5bb119d9576d32b5cb.tar.bz2
dexon-071af57bcf516d92a0b56c5bb119d9576d32b5cb.tar.lz
dexon-071af57bcf516d92a0b56c5bb119d9576d32b5cb.tar.xz
dexon-071af57bcf516d92a0b56c5bb119d9576d32b5cb.tar.zst
dexon-071af57bcf516d92a0b56c5bb119d9576d32b5cb.zip
eth, eth/downloader: don't forward the DAO challenge header
Diffstat (limited to 'eth/downloader')
-rw-r--r--eth/downloader/downloader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index aee21122a..f30e3e7b1 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -541,7 +541,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()