change zero value constant

This commit is contained in:
poma 2019-11-15 11:42:48 +03:00
parent 0393ee9c05
commit e6a4208b52
No known key found for this signature in database
GPG key ID: BA20CB01FE165657
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ library Hasher {
contract MerkleTreeWithHistory {
uint256 public constant FIELD_SIZE = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
uint256 public constant ZERO_VALUE = 5702960885942360421128284892092891246826997279710054143430547229469817701242; // = MiMC("tornado")
uint256 public constant ZERO_VALUE = 21663839004416932945382355908790599225266501822907911457504978515578255421292; // = keccak256("tornado") % FIELD_SIZE
uint32 public levels;