Created
June 10, 2019 10:43
-
-
Save dangerousfood/32d8ef607c3f80b7e4c0bfdb0f90cc8b 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
for j in range(DEPOSIT_CONTRACT_TREE_DEPTH): | |
if j < i: | |
value = sha256(concat(self.branch[j], value)) | |
else: | |
break | |
self.branch[i] = value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment