Skip to content

Instantly share code, notes, and snippets.

@wadealexc
Created June 29, 2018 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wadealexc/1811bcc772f9aaed4227f11d720ed748 to your computer and use it in GitHub Desktop.
Save wadealexc/1811bcc772f9aaed4227f11d720ed748 to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.23;
contract Soln1 {
address public owner;
function execute(address) public {
owner = msg.sender;
}
}
contract Soln2 {
address public owner;
function execute(address) public {
owner = msg.sender;
revert();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment