3

If I have the following code in a solidity contract function:

event_logEvent();
throw;

Does the event get logged correctly into the blockchain or does the throw also revert all the events?

  • Upvoted, but think this is a duplicate. (Will clean up this comment soon.) – eth Jun 29 '16 at 2:06

Browse other questions tagged or ask your own question.