diff --git a/src/Socket/socket.ts b/src/Socket/socket.ts index 718cb9b..9853dd0 100644 --- a/src/Socket/socket.ts +++ b/src/Socket/socket.ts @@ -188,9 +188,6 @@ export const makeSocket = (config: SocketConfig) => { let helloMsg: proto.IHandshakeMessage = { clientHello: { ephemeral: ephemeralKeyPair.public } } - console.log(helloMsg) - console.log(Buffer.from(ephemeralKeyPair.public).toString('base64')) - console.log(ephemeralKeyPair.public.length) helloMsg = proto.HandshakeMessage.fromObject(helloMsg) logger.info({ browser, helloMsg }, 'connected to WA') diff --git a/src/Utils/noise-handler.ts b/src/Utils/noise-handler.ts index 2de65e6..a692856 100644 --- a/src/Utils/noise-handler.ts +++ b/src/Utils/noise-handler.ts @@ -112,8 +112,7 @@ export const makeNoiseHandler = ({ const certDecoded = decrypt(serverHello!.payload!) if(mobile) { - const cert = proto.CertChain.NoiseCertificate.decode(certDecoded) - logger.debug(cert) + proto.CertChain.NoiseCertificate.decode(certDecoded) } else { const { intermediate: certIntermediate } = proto.CertChain.decode(certDecoded)