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
ba6e39fcdb
commit
246ef7a8b2
@ -65,7 +65,7 @@ public:
|
||||
|
||||
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
|
||||
bool stop = false;
|
||||
|
Loading…
Reference in New Issue
Block a user