mirror of https://github.com/ethereum/go-ethereum
`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`.pull/14598/head
parent
80f7c6c299
commit
2fefe4baa0
Loading…
Reference in new issue