Update test/libsolidity/SolidityExecutionFramework.h

Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
This commit is contained in:
r0qs
2023-01-05 20:05:11 +01:00
committed by Daniel Kirchner
co-authored by Alex Beregszaszi
parent 8c774b20d0
commit 09a720b8b4
@@ -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;