consensus/ethash: fixed typo (#16665)

This commit is contained in:
YH-Zhou 2018-05-03 02:44:47 -07:00 committed by Péter Szilágyi
parent cd9a1d5b37
commit fd3da7c69d

View File

@ -156,7 +156,7 @@ type lru struct {
futureItem interface{} futureItem interface{}
} }
// newlru create a new least-recently-used cache for ither the verification caches // newlru create a new least-recently-used cache for either the verification caches
// or the mining datasets. // or the mining datasets.
func newlru(what string, maxItems int, new func(epoch uint64) interface{}) *lru { func newlru(what string, maxItems int, new func(epoch uint64) interface{}) *lru {
if maxItems <= 0 { if maxItems <= 0 {