aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-03 23:39:56 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-08 18:23:58 +0800
commit1d7bf3d39fbd6b1a53913bb309bc07500b220ded (patch)
tree78fb6aa866f9590a95bcdb132209e9c31065c79b
parent6d497f61c65b1c02c4cfb5f4e0673574a0cd17d5 (diff)
downloaddexon-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar.gz
dexon-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar.zst
dexon-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.zip
eth/downloader: fix merge compile error
-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 4b837eed5..d113aa33f 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -551,7 +551,7 @@ func (d *Downloader) banBlocks(peerId string, head common.Hash) error {
if peer == nil {
return nil
}
- request := d.queue.Reserve(peer, MaxBlockFetch)
+ request := d.queue.Reserve(peer)
if request == nil {
return nil
}