diff --git a/src/Nethermind/Nethermind.Evm/CodeInfoRepository.cs b/src/Nethermind/Nethermind.Evm/CodeInfoRepository.cs index c590548eddd..7ab83b5832b 100644 --- a/src/Nethermind/Nethermind.Evm/CodeInfoRepository.cs +++ b/src/Nethermind/Nethermind.Evm/CodeInfoRepository.cs @@ -123,9 +123,9 @@ public CodeInfo GetCachedCodeInfo(IWorldState worldState, Address codeSource, IR if (Eip7702Constants.IsDelegatedCode(cachedCodeInfo.MachineCode.Span)) { - Address delegatedAddress = ParseDelegatedAddress(cachedCodeInfo.MachineCode.Span); - cachedCodeInfo = InternalGetCachedCode(worldState, delegationAddress); - delegationAddress = delegatedAddress; + Address parsedDelegated = ParseDelegatedAddress(cachedCodeInfo.MachineCode.Span); + cachedCodeInfo = InternalGetCachedCode(worldState, parsedDelegated); + delegationAddress = parsedDelegated; } return cachedCodeInfo;