Contract Deposit call successfully called with zkproof

This commit is contained in:
arnaucube
2020-05-14 00:19:29 +02:00
parent 571e85e61c
commit 693d634064
4 changed files with 97 additions and 13 deletions

View File

@@ -76358,7 +76358,13 @@ exports.calcWitness = async (wasm, secret, nullifier, commitments) => {
// const witness = unstringifyBigInts(stringifyBigInts(w));
return wBuff;
return {
witness: wBuff,
publicInputs: {
commitment:commitment,
root:rootNew
}
};
}