aboutsummaryrefslogtreecommitdiffstats
path: root/consensus
diff options
context:
space:
mode:
authorYH-Zhou <yanhong.zhou05@gmail.com>2018-05-03 17:44:47 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-03 17:44:47 +0800
commitfd3da7c69d234459e9fb436ea74a7ff73db42f06 (patch)
tree1717fdbcbcc3191f548d5ecf4412684a25f395d3 /consensus
parentcd9a1d5b37b41c45fd660bc36ced5427478fc0e0 (diff)
downloaddexon-fd3da7c69d234459e9fb436ea74a7ff73db42f06.tar.gz
dexon-fd3da7c69d234459e9fb436ea74a7ff73db42f06.tar.zst
dexon-fd3da7c69d234459e9fb436ea74a7ff73db42f06.zip
consensus/ethash: fixed typo (#16665)
Diffstat (limited to 'consensus')
-rw-r--r--consensus/ethash/ethash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/ethash/ethash.go b/consensus/ethash/ethash.go
index 1b3dcee30..ac049f9c3 100644
--- a/consensus/ethash/ethash.go
+++ b/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 {