mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
consensus/ethash: fix test
This commit is contained in:
parent
13fc988999
commit
dae4db5831
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ func (lru *lru) get(epoch uint64) (item, future interface{}) {
|
|||
item, ok := lru.cache.Get(epoch)
|
||||
if !ok {
|
||||
if lru.future > 0 && lru.future == epoch {
|
||||
item = lru.future
|
||||
item = lru.futureItem
|
||||
} else {
|
||||
log.Trace("Requiring new ethash "+lru.what, "epoch", epoch)
|
||||
item = lru.new(epoch)
|
||||
|
|
|
|||
Loading…
Reference in a new issue