This commit is contained in:
chriseth 2015-06-05 17:38:06 +02:00
parent 5a9d01b815
commit 651d755e56

View File

@ -1117,10 +1117,11 @@ void ExpressionCompiler::appendExternalFunctionCall(
else
m_context << eth::Instruction::CALL;
unsigned remainsSize = 1 + // contract address
_functionType.valueSet() +
_functionType.gasSet() +
!_functionType.isBareCall();
unsigned remainsSize =
1 + // contract address
_functionType.valueSet() +
_functionType.gasSet() +
!_functionType.isBareCall();
if (returnSuccessCondition)
m_context << eth::swapInstruction(remainsSize);