From 213429e240362f730ae5fd39897bc256897d6c0e Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Mon, 16 Mar 2026 11:35:57 +0000 Subject: [PATCH 1/2] remove if statement --- consensus/beacon/consensus.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/consensus/beacon/consensus.go b/consensus/beacon/consensus.go index 45a480c50e33..2ae58100d6ca 100644 --- a/consensus/beacon/consensus.go +++ b/consensus/beacon/consensus.go @@ -192,10 +192,6 @@ func (beacon *Beacon) VerifyUncles(chain consensus.ChainReader, block *types.Blo if !beacon.IsPoSHeader(block.Header()) { return beacon.ethone.VerifyUncles(chain, block) } - // Verify that there is no uncle block. It's explicitly disabled in the beacon - if len(block.Uncles()) > 0 { - return errTooManyUncles - } return nil } From e7adb004a43e28e13843406bad45311743bc84e5 Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Mon, 16 Mar 2026 11:48:20 +0000 Subject: [PATCH 2/2] lint --- consensus/beacon/consensus.go | 1 - 1 file changed, 1 deletion(-) diff --git a/consensus/beacon/consensus.go b/consensus/beacon/consensus.go index 2ae58100d6ca..d46be8036d4f 100644 --- a/consensus/beacon/consensus.go +++ b/consensus/beacon/consensus.go @@ -45,7 +45,6 @@ var ( // codebase, inherently breaking if the engine is swapped out. Please put common // error types into the consensus package. var ( - errTooManyUncles = errors.New("too many uncles") errInvalidNonce = errors.New("invalid nonce") errInvalidUncleHash = errors.New("invalid uncle hash") errInvalidTimestamp = errors.New("invalid timestamp")