mirror of
https://github.com/arnaucube/circomlib.git
synced 2026-02-08 11:46:39 +01:00
fix: makes mimcsponge usable
This commit is contained in:
@@ -53,6 +53,10 @@ exports.multiHash = (arr, key, numOutputs) => {
|
||||
if (typeof(numOutputs) === "undefined") {
|
||||
numOutputs = 1;
|
||||
}
|
||||
if (typeof(key) === "undefined") {
|
||||
key = F.zero;
|
||||
}
|
||||
|
||||
let R = F.zero;
|
||||
let C = F.zero;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user