diff --git a/eth/backend.go b/eth/backend.go index 228a0d385..783433db8 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -1255,5 +1255,7 @@ func isChainPoS(chainConfig *chain.Config, currentTD *big.Int) bool { id == 5 || id == 11155111 || id == 100 || - id == 10200 || chainConfig.TerminalTotalDifficulty.Cmp(currentTD) <= 0 || chainConfig.TerminalTotalDifficultyPassed + id == 10200 || + (chainConfig.TerminalTotalDifficulty != nil && chainConfig.TerminalTotalDifficulty.Cmp(currentTD) <= 0) || + chainConfig.TerminalTotalDifficultyPassed }