mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update test/libsolidity/SolidityExecutionFramework.h
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
This commit is contained in:
parent
8c774b20d0
commit
09a720b8b4
@ -65,7 +65,7 @@ public:
|
|||||||
|
|
||||||
if (bytecode.size() > 0)
|
if (bytecode.size() > 0)
|
||||||
{
|
{
|
||||||
if (bytecode[0] == uint8_t(0xef)) // is EOF
|
if (bytecode[0] == uint8_t(0xef) && bytecode[1] == uint8_t(00)) // is EOF
|
||||||
{
|
{
|
||||||
const auto firstSectionOffset = 3; // magic + version
|
const auto firstSectionOffset = 3; // magic + version
|
||||||
bool stop = false;
|
bool stop = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user