@permissionless-technologies/upp-sdk 0.4.9 → 0.4.10
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.js
CHANGED
|
@@ -486,6 +486,7 @@ function UPPAccountProvider({
|
|
|
486
486
|
const noteOwnerHash = BigInt("0x" + raw.slice(16, 80));
|
|
487
487
|
const encryptedPayload = raw.slice(80);
|
|
488
488
|
if (noteOwnerHash !== masterKeys.ownerHash) {
|
|
489
|
+
console.log(`[syncNotes] ownerHash mismatch: note=${noteOwnerHash.toString(16).slice(0, 16)}\u2026 ours=${masterKeys.ownerHash.toString(16).slice(0, 16)}\u2026`);
|
|
489
490
|
skippedOwner++;
|
|
490
491
|
continue;
|
|
491
492
|
}
|
|
@@ -521,7 +522,7 @@ function UPPAccountProvider({
|
|
|
521
522
|
]);
|
|
522
523
|
const expectedHex = toHex(expectedCommitment, { size: 32 });
|
|
523
524
|
if (expectedHex.toLowerCase() !== candidate.commitment.toLowerCase()) {
|
|
524
|
-
console.warn(
|
|
525
|
+
console.warn(`[syncNotes] Commitment mismatch: expected=${expectedHex.slice(0, 16)}\u2026 got=${candidate.commitment.slice(0, 16)}\u2026`);
|
|
525
526
|
continue;
|
|
526
527
|
}
|
|
527
528
|
const newNote = {
|