Call should push 1 to stack after completed

This commit is contained in:
Tomusdrw 2016-01-14 02:18:36 +01:00
parent 0dc1055af2
commit de802b7b6e

View File

@ -453,6 +453,7 @@ impl Interpreter {
ext.call(&gas, &call_gas, address, &value, input, &code_address, output) ext.call(&gas, &call_gas, address, &value, input, &code_address, output)
) )
}; };
stack.push(U256::one());
return Ok(InstructionResult::AdditionalGasCost( return Ok(InstructionResult::AdditionalGasCost(
gas - gas_left gas - gas_left
)); ));