ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
47.71k stars 20.19k forks source link

eth/ethconfig: improve error message if TTD missing #30807

Closed fjl closed 3 hours ago

fjl commented 14 hours ago

This updates the message you get when trying to initialize Geth with genesis.json that doesn't have terminalTotalDifficulty. The previous message was a bit obscure, I had to check the code to find out what the problem was.