diff --git a/src/services/service.ts b/src/services/service.ts index 28aa755..2ab3245 100755 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -37,6 +37,8 @@ export default class Services { // Utilisation de la config this.networkService = new NetworkService(APP_CONFIG.URLS.BOOTSTRAP); this.cryptoService = new CryptoService(this.sdkService); + this.walletService = new WalletService(this.sdkService, null as any); + this.processService = new ProcessService(this.sdkService, null as any); } public static async getInstance(): Promise { @@ -696,7 +698,7 @@ export default class Services { const dev = await this.walletService.getDeviceFromDatabase(); if (dev && dev.pairing_process_commitment === pid) { const last = updated.current_process.states[updated.current_process.states.length - 1]; - if (last?.public_data['pairedAddresses']) await this.confirmPairing(); + // if (last?.public_data['pairedAddresses']) await this.confirmPairing(); } }