aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/ethash/consensus_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'consensus/ethash/consensus_test.go')
-rw-r--r--consensus/ethash/consensus_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/consensus/ethash/consensus_test.go b/consensus/ethash/consensus_test.go
index a58d220ef..438a99dd6 100644
--- a/consensus/ethash/consensus_test.go
+++ b/consensus/ethash/consensus_test.go
@@ -71,6 +71,7 @@ func TestCalcDifficulty(t *testing.T) {
}
config := &params.ChainConfig{HomesteadBlock: big.NewInt(1150000)}
+
for name, test := range tests {
number := new(big.Int).Sub(test.CurrentBlocknumber, big.NewInt(1))
diff := CalcDifficulty(config, test.CurrentTimestamp, &types.Header{