Fix gasleft variable name

This commit is contained in:
Leo Alt
2021-05-26 22:12:49 +02:00
parent cb017b95cf
commit 95f973e08a
+1 -1
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);