eth/downloader: fix merge compile error

This commit is contained in:
Péter Szilágyi 2015-06-03 18:39:56 +03:00
parent 6d497f61c6
commit 1d7bf3d39f

View File

@ -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
}