Created
June 29, 2018 15:58
-
-
Save wadealexc/1811bcc772f9aaed4227f11d720ed748 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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