Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eelanagaraj committed Jun 18, 2021
1 parent 77a4dcf commit dde7727
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/sdk/wallets/wallet-keystore/src/keystores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export abstract class KeystoreBase {
const address = JSON.parse(rawKeystore).address
return ensureLeading0x(address)
} catch (e) {
console.log(e)
throw new Error(ErrorMessages.UNKNOWN_STRUCTURE)
}
}
Expand Down Expand Up @@ -190,10 +189,7 @@ export class FileKeystore extends KeystoreBase {
super()
this._keystoreDir = path.join(keystoreDir, 'keystore')
// Does not overwrite existing directories
const createdDir = mkdirSync(this._keystoreDir, { recursive: true })
if (createdDir) {
console.log(`Keystore directory created at ${createdDir}`)
}
mkdirSync(this._keystoreDir, { recursive: true })
}

/**
Expand Down

0 comments on commit dde7727

Please sign in to comment.