fixed-merkle-tree 0.7.3-p0 #1
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user