diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-02-10 01:11:23 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-25 22:47:43 +0800 |
commit | 362813f0d6a0a8e548a626f2383121301b582a78 (patch) | |
tree | e3c294f383709b318441cdb2fd4b0bd2b60dbb2b | |
parent | f6f271df8a192fbc74b0c7afe37d8de89b682fc2 (diff) | |
download | dexon-solidity-362813f0d6a0a8e548a626f2383121301b582a78.tar.gz dexon-solidity-362813f0d6a0a8e548a626f2383121301b582a78.tar.zst dexon-solidity-362813f0d6a0a8e548a626f2383121301b582a78.zip |
libevmasm: add a break
-rw-r--r-- | libevmasm/GasMeter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libevmasm/GasMeter.cpp b/libevmasm/GasMeter.cpp index a5f0da1b..f5fd00ea 100644 --- a/libevmasm/GasMeter.cpp +++ b/libevmasm/GasMeter.cpp @@ -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. |