Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ak88 committed Sep 1, 2024
1 parent 73b86bd commit 215628a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Nethermind/Nethermind.Evm/CodeInfoRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 215628a

Please sign in to comment.