Created
December 20, 2018 23:45
-
-
Save yidongw/fada9a32474373840d880e70827e6337 to your computer and use it in GitHub Desktop.
Perun15
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
function LCOpenTimeout() public { | |
require(msg.sender == alice.id && status == LCStatus.Init); | |
if (now > timeout) { | |
EventLCNotOpened(); | |
selfdestruct(alice.id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment