forked from cerc-io/plugeth
eth/catalyst: fix log message (#24574)
This commit is contained in:
parent
f252154599
commit
535f25d65f
@ -216,8 +216,8 @@ func (api *ConsensusAPI) ExchangeTransitionConfigurationV1(config beacon.Transit
|
|||||||
}
|
}
|
||||||
ttd := api.eth.BlockChain().Config().TerminalTotalDifficulty
|
ttd := api.eth.BlockChain().Config().TerminalTotalDifficulty
|
||||||
if ttd.Cmp(config.TerminalTotalDifficulty.ToInt()) != 0 {
|
if ttd.Cmp(config.TerminalTotalDifficulty.ToInt()) != 0 {
|
||||||
log.Warn("Invalid TTD configured", "geth", config.TerminalTotalDifficulty, "beacon", ttd)
|
log.Warn("Invalid TTD configured", "geth", ttd, "beacon", config.TerminalTotalDifficulty)
|
||||||
return nil, fmt.Errorf("invalid ttd: execution %v consensus %v", config.TerminalTotalDifficulty, ttd)
|
return nil, fmt.Errorf("invalid ttd: execution %v consensus %v", ttd, config.TerminalTotalDifficulty)
|
||||||
}
|
}
|
||||||
|
|
||||||
if config.TerminalBlockHash != (common.Hash{}) {
|
if config.TerminalBlockHash != (common.Hash{}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user