consensus/ethash: fixed typo (#16665)
This commit is contained in:
parent
cd9a1d5b37
commit
fd3da7c69d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user