瀏覽代碼

consensus/ethash: fixed typo (#16665)

YH-Zhou 7 年之前
父節點
當前提交
fd3da7c69d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      consensus/ethash/ethash.go

+ 1 - 1
consensus/ethash/ethash.go

@@ -156,7 +156,7 @@ type lru struct {
 	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.
 func newlru(what string, maxItems int, new func(epoch uint64) interface{}) *lru {
 	if maxItems <= 0 {