consensus/ethash: fixed typo

This commit is contained in:
Yanhong 2018-05-03 02:06:01 -07:00
parent 2ad511ce09
commit 9afd452ca1

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 {