diff --git a/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Eof.cs b/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Eof.cs index 68e23a59f61..ea360898129 100644 --- a/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Eof.cs +++ b/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Eof.cs @@ -947,11 +947,7 @@ public static EvmExceptionType InstructionEofCall !TGasPolicy.ConsumeNewAccountCreation(ref gas), - false => !TGasPolicy.UpdateGas(ref gas, GasCostOf.NewAccount), - }) + if (!TGasPolicy.ConsumeNewAccountCreation(ref gas)) goto OutOfGas; }