From c1954d280b14a8edb616c19e34f2a99e6f97e65c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 18 Jul 2025 13:42:48 +0200 Subject: [PATCH] consensus/beacon: update --- consensus/beacon/consensus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/beacon/consensus.go b/consensus/beacon/consensus.go index cfe1b270b8..b5af7b77a4 100644 --- a/consensus/beacon/consensus.go +++ b/consensus/beacon/consensus.go @@ -76,7 +76,7 @@ func New(ethone consensus.Engine) *Beacon { // Here we check the MergeNetsplitBlock to allow configuring networks with a PoW or // PoA chain for unit testing purposes. func isPostMerge(config *params.Config2, blockNum uint64, timestamp uint64) bool { - ttd := params.Get[*params.TerminalTotalDifficulty](config).BigInt() + ttd := params.TerminalTotalDifficulty.Get(config) mergedAtGenesis := ttd != nil && ttd.Sign() == 0 return mergedAtGenesis || config.Active(forks.Paris, blockNum, timestamp) ||