From e3af26e0bfa89e3bb0ae6f6dac3c7b774dd0108b Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 13 Feb 2026 22:32:20 +0100 Subject: [PATCH] eth/protocols/eth: remove use of RawList.Empty --- eth/protocols/eth/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index 0a733642f5..fa5a079447 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -424,7 +424,7 @@ func hashBodyParts(items []BlockBody) BlockBodyHashes { txsList := newDerivableRawList(&body.Transactions, writeTxForHash) h.TransactionRoots[i] = types.DeriveSha(txsList, hasher) // uncles - if body.Uncles.Empty() { + if body.Uncles.Len() == 0 { h.UncleHashes[i] = types.EmptyUncleHash } else { h.UncleHashes[i] = crypto.Keccak256Hash(body.Uncles.Bytes())