From 49b487905d2d1642af6c65eb2a90b453da02bc40 Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Tue, 7 Oct 2025 17:38:24 +0300 Subject: [PATCH] chore: does verify + connect in parallel --- packages/sign-client/src/controllers/engine.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/sign-client/src/controllers/engine.ts b/packages/sign-client/src/controllers/engine.ts index 13ecc8f2d..9fc648525 100644 --- a/packages/sign-client/src/controllers/engine.ts +++ b/packages/sign-client/src/controllers/engine.ts @@ -1614,7 +1614,10 @@ export class Engine extends IEngine { const decryptedId = hashMessage(JSON.stringify(proposeSessionPayload)); const attestationId = hashMessage(proposeSessionMessage); - const attestation = await this.client.core.verify.register({ id: attestationId, decryptedId }); + const attestation = await Promise.all([ + this.client.core.verify.register({ id: attestationId, decryptedId }), + this.client.core.relayer.transportOpen(), + ]).then(([attestation]) => attestation); await this.client.core.relayer.publishCustom({ payload: {