When a contract triggers a throw
, the Solidity document states:
Solidity will trigger an "invalid jump" and thus cause the EVM to revert all changes made to the state.
In this case, what happens to the ether value (not the gas) that was sent along with the transaction? Is it returned to the sender, or is it still stored in the contract?