Update TornadoPool.sol

This commit is contained in:
Roman Semenov 2020-07-16 15:21:38 +03:00 committed by GitHub
parent 66320e9dbb
commit 09422a675b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ contract TornadoPool is ReentrancyGuard {
transfer(_relayer, _fee);
}
// todo enforce currentCommitmentIndex value in snark
emit NewCommitment(_outputCommitments[0], currentCommitmentIndex++);
emit NewCommitment(_outputCommitments[1], currentCommitmentIndex++);
emit NewNullifier(_inputNullifiers[0]);