@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.
@@ -603,7 +603,7 @@ function UPPAccountProvider({
603
603
  const ownerSecret = BigInt(note.ownerSecret);
604
604
  const commitment = BigInt(note.commitment);
605
605
  const nullifier = await sdk2.poseidon([
606
- ownerSecret % 2736030358979909402780800718157159386076813972158567259200215660948447373041n,
606
+ ownerSecret,
607
607
  BigInt(correctLeaf),
608
608
  commitment
609
609
  ]);
@@ -636,7 +636,7 @@ function UPPAccountProvider({
636
636
  const ownerSecret = BigInt(note.ownerSecret);
637
637
  const commitment = BigInt(note.commitment);
638
638
  const nullifier = await sdk2.poseidon([
639
- ownerSecret % 2736030358979909402780800718157159386076813972158567259200215660948447373041n,
639
+ ownerSecret,
640
640
  BigInt(correctLeaf),
641
641
  commitment
642
642
  ]);