mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
Update TornadoPool.sol
This commit is contained in:
parent
66320e9dbb
commit
09422a675b
@ -85,6 +85,7 @@ contract TornadoPool is ReentrancyGuard {
|
|||||||
transfer(_relayer, _fee);
|
transfer(_relayer, _fee);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// todo enforce currentCommitmentIndex value in snark
|
||||||
emit NewCommitment(_outputCommitments[0], currentCommitmentIndex++);
|
emit NewCommitment(_outputCommitments[0], currentCommitmentIndex++);
|
||||||
emit NewCommitment(_outputCommitments[1], currentCommitmentIndex++);
|
emit NewCommitment(_outputCommitments[1], currentCommitmentIndex++);
|
||||||
emit NewNullifier(_inputNullifiers[0]);
|
emit NewNullifier(_inputNullifiers[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user