-
-
Save payers1/3b78221f85d88c44a96e35330eeebdb0 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
function verifyMilkOutage() { | |
// Check to make sure the verifier is not also the notifier | |
if (msg.sender != milkOutageNotifier) { | |
milkOutageVerifier = msg.sender; | |
// Pay Alice | |
snTokenBalances[milkOutageNotifier] += 1; | |
// Pay Bob | |
snTokenBalances[milkOutageVerifier] += 1; | |
Notification("milk_outage_verified"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment