mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-21 02:58:28 +00:00
`geth dumpgenesis` currently does not respect the content of the data directory. Instead, it outputs the genesis block created by command-line flags. This PR fixes it to read the genesis from the database, if the database already exists. Co-authored-by: Martin Holst Swende <martin@swende.se>