@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.
package/dist/react/index.cjs
CHANGED
|
@@ -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
|
|
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
|
|
640
|
+
ownerSecret,
|
|
641
641
|
BigInt(correctLeaf),
|
|
642
642
|
commitment
|
|
643
643
|
]);
|