chore: remove console.logs

This commit is contained in:
SamuelScheit
2023-05-19 10:14:50 +02:00
parent e98e309b0d
commit 90fe440f9a
2 changed files with 1 additions and 5 deletions

View File

@@ -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')

View File

@@ -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)