Skip to content

Commit 43c0606

Browse files
committed
lint
1 parent 5a1baed commit 43c0606

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.prettierignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build
33
circuits
44
scripts
5-
contracts/RewardVerifier.sol
6-
contracts/WithdrawVerifier.sol
7-
contracts/TreeUpdateVerifier.sol
8-
contracts/FloatMath.sol
5+
contracts/verifiers/RewardVerifier.sol
6+
contracts/verifiers/WithdrawVerifier.sol
7+
contracts/verifiers/TreeUpdateVerifier.sol
8+
contracts/utils/FloatMath.sol

contracts/TornadoProxy.sol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ contract TornadoProxy is EnsResolve {
3535
}
3636
}
3737

38-
function deposit(ITornadoInstance _tornado, bytes32 _commitment, bytes calldata _encryptedNote) external payable {
38+
function deposit(
39+
ITornadoInstance _tornado,
40+
bytes32 _commitment,
41+
bytes calldata _encryptedNote
42+
) external payable {
3943
require(instances[_tornado], "The instance is not supported");
4044

4145
_tornado.deposit{ value: msg.value }(_commitment);

contracts/utils/MerkleTreeWithHistory.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ contract MerkleTreeWithHistory {
8888
break;
8989
}
9090

91-
if(subtrees[i] == bytes32(0)) {
91+
if (subtrees[i] == bytes32(0)) {
9292
subtrees[i] = filledSubtrees[i];
9393
}
9494
currentLevelHash = hashLeftRight(subtrees[i], currentLevelHash);

0 commit comments

Comments
 (0)