Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Change Istanbul condition when converting EVMSchedule to evmc_revision
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Jul 29, 2019
1 parent 6c90935 commit f5332dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libevm/EVMC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace
{
evmc_revision toRevision(EVMSchedule const& _schedule) noexcept
{
if (_schedule.txDataNonZeroGas == 16)
if (_schedule.haveChainID)
return EVMC_ISTANBUL;
if (_schedule.haveCreate2 && !_schedule.eip1283Mode)
return EVMC_PETERSBURG;
Expand Down

0 comments on commit f5332dc

Please sign in to comment.