libevmasm: add a break

This commit is contained in:
Yoichi Hirai
2017-04-25 16:47:43 +02:00
committed by chriseth
parent f6f271df8a
commit 362813f0d6
+1
View File
@@ -152,6 +152,7 @@ GasMeter::GasConsumption GasMeter::estimateMax(AssemblyItem const& _item, bool _
case Instruction::SELFDESTRUCT:
gas = GasCosts::selfdestructGas;
gas += GasCosts::callNewAccountGas; // We very rarely know whether the address exists.
break;
case Instruction::CREATE:
if (_includeExternalCosts)
// We assume that we do not know the target contract and thus, the consumption is infinite.