From 8937caa693660d999e5c2f649ee21dd0b1339d0a Mon Sep 17 00:00:00 2001 From: Patrick Kenyon Date: Thu, 9 Dec 2021 16:24:37 -0700 Subject: [PATCH] Formatted code Signed-off-by: Patrick Kenyon --- packages/core/src/modules/ledger/IndyPool.ts | 2 +- packages/core/src/modules/ledger/LedgerModule.ts | 10 +++++----- .../src/modules/ledger/services/IndyPoolService.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/core/src/modules/ledger/IndyPool.ts b/packages/core/src/modules/ledger/IndyPool.ts index 020130be48..ea655b96fd 100644 --- a/packages/core/src/modules/ledger/IndyPool.ts +++ b/packages/core/src/modules/ledger/IndyPool.ts @@ -75,7 +75,7 @@ export class IndyPool { } public async connect() { - this.poolConnected = (async ()=>{ + this.poolConnected = (async () => { const poolName = this.poolConfig.id const genesisPath = await this.getGenesisPath() diff --git a/packages/core/src/modules/ledger/LedgerModule.ts b/packages/core/src/modules/ledger/LedgerModule.ts index 7b1fe9ab92..c38feaf6a0 100644 --- a/packages/core/src/modules/ledger/LedgerModule.ts +++ b/packages/core/src/modules/ledger/LedgerModule.ts @@ -19,13 +19,13 @@ export class LedgerModule { this.wallet = wallet } - /** + /** * Connect to all the ledger pools */ - public async connectToGenesis() { - await this.ledgerService.connectToPools() - } - + public async connectToGenesis() { + await this.ledgerService.connectToPools() + } + public async registerPublicDid(did: string, verkey: string, alias: string, role?: NymRole) { const myPublicDid = this.wallet.publicDid?.did diff --git a/packages/core/src/modules/ledger/services/IndyPoolService.ts b/packages/core/src/modules/ledger/services/IndyPoolService.ts index 08427f34f5..ba12b147aa 100644 --- a/packages/core/src/modules/ledger/services/IndyPoolService.ts +++ b/packages/core/src/modules/ledger/services/IndyPoolService.ts @@ -39,7 +39,7 @@ export class IndyPoolService { /** * Create connections to all ledger pools */ - public async connectToPools() { + public async connectToPools() { const poolsPromises = this.pools.map((pool) => { return pool.connect() })