eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K

This commit is contained in:
Péter Szilágyi
2015-05-21 18:16:04 +03:00
parent 52db6d8be5
commit 06a041589f
6 changed files with 14 additions and 13 deletions

View File

@ -135,7 +135,7 @@ func (dl *downloadTester) getBlock(hash common.Hash) *types.Block {
// getHashes retrieves a batch of hashes for reconstructing the chain.
func (dl *downloadTester) getHashes(head common.Hash) error {
limit := maxHashFetch
limit := MaxHashFetch
if dl.maxHashFetch > 0 {
limit = dl.maxHashFetch
}