Created
June 29, 2017 21:37
-
-
Save brynbellomy/e5bf04f5af5d0f16b09c2c7d430bb1f1 to your computer and use it in GitHub Desktop.
medium-auction-contract-onlyEndedOrCanceled.sol
This file contains hidden or 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
modifier onlyEndedOrCanceled { | |
if (block.number < endBlock && !canceled) throw; | |
_; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment