Ethash Future DAG generation
@@ -72,8 +72,6 @@ namespace MiningCore.Crypto.Hashing.Ethash
caches[epoch] = result;
}
- else
- {
// If we used up the future cache, or need a refresh, regenerate
if (future == null || future.Epoch <= epoch)
{
@@ -84,7 +82,6 @@ namespace MiningCore.Crypto.Hashing.Ethash
future.GenerateAsync(dagDir, logger);
#pragma warning restore 4014
}
- }
result.LastUsed = DateTime.Now;
}
