Skip to content

Commit

Permalink
Formatted code
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Kenyon <[email protected]>
  • Loading branch information
TheTreek committed Dec 9, 2021
1 parent 80e19c2 commit 8937caa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/modules/ledger/IndyPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
10 changes: 5 additions & 5 deletions packages/core/src/modules/ledger/LedgerModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 8937caa

Please sign in to comment.