Skip to content

Commit 0bb3cec

Browse files
acechain-ioclaude
andcommitted
fix: remove duplicate 'prepared' declarations from cherry-pick merge
Removed two duplicate `const prepared` lines referencing undefined `strictPayload` variable, caused by cherry-pick overlap. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 416e4a7 commit 0bb3cec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

webapp/public/js/client-portal.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4497,7 +4497,6 @@ async function handleFixEncryptionClick(e) {
44974497
index: recipientIndex,
44984498
label: label,
44994499
}, 'Re-generate payload');
4500-
const prepared = await window.YaultRwaSdk.prepareCredentialNftPayload(solanaAddress, strictPayload, { xidentity: xidentity });
45014500
const fingerprintBytes = new Uint8Array(adminFactorHex.match(/.{2}/g).map(b => parseInt(b, 16)));
45024501
const fingerprintBuf = await crypto.subtle.digest('SHA-256', fingerprintBytes);
45034502
const adminFactorFingerprint = Array.from(new Uint8Array(fingerprintBuf)).map(b => b.toString(16).padStart(2, '0')).join('');
@@ -5688,7 +5687,6 @@ function attachAppEvents() {
56885687
label: label,
56895688
memo: (state.planMemo && state.planMemo.trim()) ? state.planMemo.trim() : undefined,
56905689
}, 'Plan payload #' + (i + 1));
5691-
const prepared = await window.YaultRwaSdk.prepareCredentialNftPayload(solanaAddress, strictPayload, { xidentity: xidentity });
56925690
packagesPerPath.push({
56935691
index: i + 1,
56945692
recipient_solana_address: prepared.recipientSolanaAddress,

0 commit comments

Comments
 (0)