diff --git a/src/utils/sp-address.utils.ts b/src/utils/sp-address.utils.ts index 1cc4297..e990731 100755 --- a/src/utils/sp-address.utils.ts +++ b/src/utils/sp-address.utils.ts @@ -2743,6 +2743,10 @@ export async function prepareAndSendPairingTx(): Promise { // Update UI with creator address updateCreatorStatus(`Creator address: ${creatorAddress}`); + // Generate 4 words representation for the joiner immediately + console.log(`🔍 DEBUG: Generating 4 words representation for joiner...`); + await generateWordsDisplay(creatorAddress); + // Secure credentials already initialized in the click handler // Create pairing process with creator's address @@ -2762,10 +2766,6 @@ export async function prepareAndSendPairingTx(): Promise { await service.handleApiReturn(createPairingProcessReturn); - // Generate 4 words representation for the joiner - console.log(`🔍 DEBUG: Generating 4 words representation for joiner...`); - await generateWordsDisplay(creatorAddress); - console.log(`✅ DEBUG: Creator pairing process created and 4 words generated`); console.log(`⏳ DEBUG: Creator waiting for joiner to enter 4 words...`); } catch (err) {