aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-08-09 16:39:13 +0800
committerGitHub <noreply@github.com>2016-08-09 16:39:13 +0800
commit893fabd3360b3aeba75477f22c85463b6e3ea2bc (patch)
tree3f6478d910c459b06909a6b24f1a83a44cdea916 /eth/downloader/downloader.go
parent44ea0da2b0bc96505299c083cac44d60814a78eb (diff)
parent071af57bcf516d92a0b56c5bb119d9576d32b5cb (diff)
downloadgo-tangerine-893fabd3360b3aeba75477f22c85463b6e3ea2bc.tar
go-tangerine-893fabd3360b3aeba75477f22c85463b6e3ea2bc.tar.gz
go-tangerine-893fabd3360b3aeba75477f22c85463b6e3ea2bc.tar.bz2
go-tangerine-893fabd3360b3aeba75477f22c85463b6e3ea2bc.tar.lz
go-tangerine-893fabd3360b3aeba75477f22c85463b6e3ea2bc.tar.xz
go-tangerine-893fabd3360b3aeba75477f22c85463b6e3ea2bc.tar.zst
go-tangerine-893fabd3360b3aeba75477f22c85463b6e3ea2bc.zip
Merge pull request #2867 from karalabe/dao-challenge-finish
eth, eth/downloader: don't forward the DAO challenge header
Diffstat (limited to 'eth/downloader/downloader.go')
-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 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()