Created
June 10, 2019 10:09
-
-
Save dangerousfood/fe9306c766e1cbf4da2b0ce139c80c2d to your computer and use it in GitHub Desktop.
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
zerohashes: bytes32[DEPOSIT_CONTRACT_TREE_DEPTH] | |
@public | |
def __init__(): | |
for i in range(DEPOSIT_CONTRACT_TREE_DEPTH - 1): | |
self.zerohashes[i+1] = sha256(concat(self.zerohashes[i], self.zerohashes[i])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment