Skip to content

Commit

Permalink
eth/catalyst: better warning for ttd not configured (#25394)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden authored Jul 25, 2022
1 parent 6da1fce commit b2be5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/catalyst/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type ConsensusAPI struct {
// The underlying blockchain needs to have a valid terminal total difficulty set.
func NewConsensusAPI(eth *eth.Ethereum) *ConsensusAPI {
if eth.BlockChain().Config().TerminalTotalDifficulty == nil {
log.Warn("Engine API started without valid total difficulty")
log.Warn("Engine API started but chain not configured for merge yet")
}
return &ConsensusAPI{
eth: eth,
Expand Down

0 comments on commit b2be5f9

Please sign in to comment.