mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
extDataSquare + eslint fix
This commit is contained in:
commit
a621e46e6e
@ -17,7 +17,7 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
"indent": ["error", 2],
|
"indent": ["error", 2],
|
||||||
"linebreak-style": ["error", "unix"],
|
"linebreak-style": ["error", "unix"],
|
||||||
"quotes": ["error", "single"],
|
"quotes": ["error", "single", { "avoidEscape": true }],
|
||||||
"semi": ["error", "never"],
|
"semi": ["error", "never"],
|
||||||
"object-curly-spacing": ["error", "always"],
|
"object-curly-spacing": ["error", "always"],
|
||||||
"comma-dangle": ["error", "always-multiline"],
|
"comma-dangle": ["error", "always-multiline"],
|
||||||
|
@ -130,4 +130,6 @@ template Transaction(levels, nIns, nOuts, zeroLeaf) {
|
|||||||
for (var i = 0; i < levels - 1; i++) {
|
for (var i = 0; i < levels - 1; i++) {
|
||||||
treeUpdater.pathElements[i] <== outPathElements[i];
|
treeUpdater.pathElements[i] <== outPathElements[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signal extDataSquare <== extDataHash * extDataHash;
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@ describe('TornadoPool', () => {
|
|||||||
await proxy
|
await proxy
|
||||||
.admin()
|
.admin()
|
||||||
.should.be.revertedWith(
|
.should.be.revertedWith(
|
||||||
'Transaction reverted: function selector was not recognized and there is no fallback function',
|
"Transaction reverted: function selector was not recognized and there's no fallback function",
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user