From dae4db583105359ae7c2815457618b1ad7bf0f23 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 17 Jan 2018 11:24:50 +0100 Subject: [PATCH] consensus/ethash: fix test --- consensus/ethash/ethash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/ethash/ethash.go b/consensus/ethash/ethash.go index a1a4da4980..ac89ced99d 100644 --- a/consensus/ethash/ethash.go +++ b/consensus/ethash/ethash.go @@ -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)