fixed-merkle-tree 0.7.3-p0 #1

Merged
Theo merged 3 commits from anon/archive-monorepo:main into main 2023-05-16 23:29:03 +03:00
Showing only changes of commit 2f28a7e627 - Show all commits

View File

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