aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GasMeter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/GasMeter.cpp b/GasMeter.cpp
index 3749e635..650bd6e2 100644
--- a/GasMeter.cpp
+++ b/GasMeter.cpp
@@ -148,7 +148,7 @@ GasMeter::GasConsumption GasMeter::estimateMax(AssemblyItem const& _item)
if (u256 const* value = classes.knownConstant(m_state->relativeStackElement(-1)))
gas += c_expByteGas * (32 - (h256(*value).firstBitSet() / 8));
else
- gas = GasConsumption::infinite();
+ gas += c_expByteGas * 32;
break;
default:
break;