Merge pull request #7357 from ethereum/fix-callcode-typo

Yul proto fuzzer: Fix typo in low level call
This commit is contained in:
Bhargava Shastry 2019-09-05 10:19:42 +02:00 committed by GitHub
commit 96980d0bfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -741,7 +741,7 @@ void ProtoConverter::visit(LowLevelCall const& _x)
m_output << ", ";
visit(_x.addr());
m_output << ", ";
if (type == LowLevelCall::CALL || LowLevelCall::CALLCODE)
if (type == LowLevelCall::CALL || type == LowLevelCall::CALLCODE)
{
visit(_x.wei());
m_output << ", ";