mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-10 22:56:08 +00:00
2fefe4baa0
`geth makedag <blocknumber> <path>` was creating DAGs for `<blocknumber>/<epoch_length> + 1`, hence it was impossible to create an epoch 0 DAG. This fixes the calculations in `consensus/ethash/ethash.go` for `MakeDataset` and `MakeCache`, and applies `gofmt`.