Skip to content

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
aulneau authored and reedrosenbluth committed Jul 26, 2021
1 parent 1cd9612 commit 3e55c94
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/encryption/src/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ export function getPublicKeyFromPrivate(privateKey: string | Buffer) {
: Buffer.from(privateKey, 'hex');
// eslint-disable-next-line @typescript-eslint/no-var-requires
const realBuffer = require('buffer').Buffer;
const isBuffer1 = realBuffer.isBuffer(privateKeyBuffer);
console.log(isBuffer1);
const keyPair = ECPair.fromPrivateKey(privateKeyBuffer);
return keyPair.publicKey.toString('hex');
}
Expand Down

0 comments on commit 3e55c94

Please sign in to comment.