Fix gasleft variable name

This commit is contained in:
Leo Alt 2021-05-18 22:23:36 +02:00
parent cb017b95cf
commit 95f973e08a

View File

@ -797,7 +797,7 @@ void SMTEncoder::visitCryptoFunction(FunctionCall const& _funCall)
void SMTEncoder::visitGasLeft(FunctionCall const& _funCall)
{
string gasLeft = "gasleft()";
string gasLeft = "gasleft";
// We increase the variable index since gasleft changes
// inside a tx.
defineGlobalVariable(gasLeft, _funCall, true);