Skip to content

Commit

Permalink
eth/catalyst: fix log message (#24574)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Mar 23, 2022
1 parent f252154 commit 535f25d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/catalyst/api.go
Expand Up @@ -216,8 +216,8 @@ func (api *ConsensusAPI) ExchangeTransitionConfigurationV1(config beacon.Transit
}
ttd := api.eth.BlockChain().Config().TerminalTotalDifficulty
if ttd.Cmp(config.TerminalTotalDifficulty.ToInt()) != 0 {
log.Warn("Invalid TTD configured", "geth", config.TerminalTotalDifficulty, "beacon", ttd)
return nil, fmt.Errorf("invalid ttd: execution %v consensus %v", config.TerminalTotalDifficulty, ttd)
log.Warn("Invalid TTD configured", "geth", ttd, "beacon", config.TerminalTotalDifficulty)
return nil, fmt.Errorf("invalid ttd: execution %v consensus %v", ttd, config.TerminalTotalDifficulty)
}

if config.TerminalBlockHash != (common.Hash{}) {
Expand Down

0 comments on commit 535f25d

Please sign in to comment.