cmd/geth: eth/catalyst: enable authrpc by default (#25152)

* cmd/geth: eth/catalyst: enable authrpc by default

* eth/catalyst: rename catalyst -> Engine API in logs

* eth/catalyst: don't panic
This commit is contained in:
Marius van der Wijden
2022-07-23 09:56:02 +02:00
committed by GitHub
parent 22d71afc95
commit 3b2a6b34d9
6 changed files with 13 additions and 17 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ type ConsensusAPI struct {
// The underlying blockchain needs to have a valid terminal total difficulty set.
func NewConsensusAPI(les *les.LightEthereum) *ConsensusAPI {
if les.BlockChain().Config().TerminalTotalDifficulty == nil {
panic("Catalyst started without valid total difficulty")
log.Warn("Catalyst started without valid total difficulty")
}
return &ConsensusAPI{les: les}
}