Last active
March 19, 2019 03:07
-
-
Save ben-chain/74b4d04817dcf99586ad9c06bc44fab9 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
public isRevoked(stateID: uint, commitment: commitment, revocationWitness: bytes): | |
assert wasCommitted( | |
... revocationWitness.newCommitment, revocationWitness.newCommitmentWitness) | |
assert verifySignature( | |
... revocationWitness.newCommitment) = commitment.state.owner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment