@permissionless-technologies/upp-sdk 0.4.8 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -604,7 +604,7 @@ function UPPAccountProvider({
604
604
  const ownerSecret = BigInt(note.ownerSecret);
605
605
  const commitment = BigInt(note.commitment);
606
606
  const nullifier = await sdk2.poseidon([
607
- ownerSecret % 2736030358979909402780800718157159386076813972158567259200215660948447373041n,
607
+ ownerSecret,
608
608
  BigInt(correctLeaf),
609
609
  commitment
610
610
  ]);
@@ -637,7 +637,7 @@ function UPPAccountProvider({
637
637
  const ownerSecret = BigInt(note.ownerSecret);
638
638
  const commitment = BigInt(note.commitment);
639
639
  const nullifier = await sdk2.poseidon([
640
- ownerSecret % 2736030358979909402780800718157159386076813972158567259200215660948447373041n,
640
+ ownerSecret,
641
641
  BigInt(correctLeaf),
642
642
  commitment
643
643
  ]);