Fix require in fmt

Signed-off-by: T-Hax <>
This commit is contained in:
T-Hax 2023-05-03 21:16:09 +00:00
parent 6006120e60
commit 2f28a7e627
No known key found for this signature in database

View File

@ -1,3 +1,3 @@
const { mimcsponge } = require('circomlib') const { mimcsponge } = require('@tornado/circomlib')
const { bigInt } = require('@tornado/snarkjs') const { bigInt } = require('@tornado/snarkjs')
module.exports = (left, right) => mimcsponge.multiHash([bigInt(left), bigInt(right)]).toString() module.exports = (left, right) => mimcsponge.multiHash([bigInt(left), bigInt(right)]).toString()