diff --git a/zkp/js/test/anon_enc.js b/zkp/js/test/anon_enc.js index 6be88dc..e8a79a2 100644 --- a/zkp/js/test/anon_enc.js +++ b/zkp/js/test/anon_enc.js @@ -167,7 +167,7 @@ describe('main circuit tests for Zeto fungible tokens with anonymity with encryp const encryptionNonce = genRandomSalt(); const encryptInputs = stringifyBigInts({ encryptionNonce, - senderPrivateKey: formatPrivKeyForBabyJub(sender.privKey), + inputOwnerPrivateKey: formatPrivKeyForBabyJub(sender.privKey), }); const witness = await circuit.calculateWitness(