This commit is contained in:
poma 2021-02-05 02:16:40 +03:00
parent 89abbf77f5
commit 4df9a516db
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
1 changed files with 3 additions and 2 deletions

View File

@ -79,12 +79,13 @@ contract TornadoTrees is EnsResolve {
uint256 depositLeaf = _tornadoTreesV1.lastProcessedDepositLeaf();
require(depositLeaf % CHUNK_SIZE == 0, "Incorrect TornadoTrees state");
lastProcessedDepositLeaf = depositLeaf;
lastV1Deposit = 1; // todo
depositsLength = lastV1Deposit = 1; // todo
uint256 withdrawalLeaf = _tornadoTreesV1.lastProcessedWithdrawalLeaf();
require(withdrawalLeaf % CHUNK_SIZE == 0, "Incorrect TornadoTrees state");
lastProcessedWithdrawalLeaf = withdrawalLeaf;
lastV1Withdrawal = 1; // todo
withdrawalsLength = lastV1Withdrawal = 1; // todo
}
function registerDeposit(address _instance, bytes32 _commitment) external onlyTornadoProxy {