diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-05-21 23:16:04 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-05-21 23:16:04 +0800 |
commit | 06a041589f3c2d4b3e66a1ce51e3e03e209fdbff (patch) | |
tree | 2c6d15f5ac83fcf642b3c8432da19e937534f5f1 /eth/downloader/downloader_test.go | |
parent | 52db6d8be577669bd5ba659ac223acf61956b05a (diff) | |
download | dexon-06a041589f3c2d4b3e66a1ce51e3e03e209fdbff.tar.gz dexon-06a041589f3c2d4b3e66a1ce51e3e03e209fdbff.tar.zst dexon-06a041589f3c2d4b3e66a1ce51e3e03e209fdbff.zip |
eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K
Diffstat (limited to 'eth/downloader/downloader_test.go')
-rw-r--r-- | eth/downloader/downloader_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index d623a7c76..6299ea162 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -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 } |