mirror of
https://github.com/tornadocash/tornado-anonymity-mining.git
synced 2024-11-21 17:27:08 +01:00
lint
This commit is contained in:
parent
5a1baed66b
commit
43c0606472
@ -2,7 +2,7 @@
|
||||
build
|
||||
circuits
|
||||
scripts
|
||||
contracts/RewardVerifier.sol
|
||||
contracts/WithdrawVerifier.sol
|
||||
contracts/TreeUpdateVerifier.sol
|
||||
contracts/FloatMath.sol
|
||||
contracts/verifiers/RewardVerifier.sol
|
||||
contracts/verifiers/WithdrawVerifier.sol
|
||||
contracts/verifiers/TreeUpdateVerifier.sol
|
||||
contracts/utils/FloatMath.sol
|
||||
|
@ -35,7 +35,11 @@ contract TornadoProxy is EnsResolve {
|
||||
}
|
||||
}
|
||||
|
||||
function deposit(ITornadoInstance _tornado, bytes32 _commitment, bytes calldata _encryptedNote) external payable {
|
||||
function deposit(
|
||||
ITornadoInstance _tornado,
|
||||
bytes32 _commitment,
|
||||
bytes calldata _encryptedNote
|
||||
) external payable {
|
||||
require(instances[_tornado], "The instance is not supported");
|
||||
|
||||
_tornado.deposit{ value: msg.value }(_commitment);
|
||||
|
@ -88,7 +88,7 @@ contract MerkleTreeWithHistory {
|
||||
break;
|
||||
}
|
||||
|
||||
if(subtrees[i] == bytes32(0)) {
|
||||
if (subtrees[i] == bytes32(0)) {
|
||||
subtrees[i] = filledSubtrees[i];
|
||||
}
|
||||
currentLevelHash = hashLeftRight(subtrees[i], currentLevelHash);
|
||||
|
Loading…
Reference in New Issue
Block a user