forked from cerc-io/plugeth
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:
+1
-1
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user