diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-03 23:39:56 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-08 18:23:58 +0800 |
commit | 1d7bf3d39fbd6b1a53913bb309bc07500b220ded (patch) | |
tree | 78fb6aa866f9590a95bcdb132209e9c31065c79b /eth/downloader | |
parent | 6d497f61c65b1c02c4cfb5f4e0673574a0cd17d5 (diff) | |
download | go-tangerine-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar go-tangerine-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar.gz go-tangerine-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar.bz2 go-tangerine-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar.lz go-tangerine-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar.xz go-tangerine-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.tar.zst go-tangerine-1d7bf3d39fbd6b1a53913bb309bc07500b220ded.zip |
eth/downloader: fix merge compile error
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 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 } |