Add logs box, fix UX flows & error management

This commit is contained in:
arnaucube
2020-05-20 21:01:10 +02:00
parent 01880a111d
commit 57791d7458
4 changed files with 92 additions and 25 deletions

View File

@@ -76325,7 +76325,7 @@ exports.calcDepositWitness = async (wasm, secret, nullifier, commitments, key) =
// old root
const rootOld = tree.root;
const resOld = await tree.find(commitment);
const resOld = await tree.find(key);
console.log("FIND old", resOld);
let oldKey = "0";
let oldValue = "0";