chore: update proto

the proto was generated using a different method, hence the diff is larger -- but if the method continues to work, we should get very nice little diffs
This commit is contained in:
Adhiraj Singh
2022-06-23 22:14:43 +05:30
parent a75d9118bd
commit 8fa500a8a2
5 changed files with 43127 additions and 35380 deletions

View File

@@ -105,7 +105,7 @@ export const makeNoiseHandler = (
const certDecoded = decrypt(serverHello!.payload!)
const { intermediate: certIntermediate } = proto.CertChain.decode(certDecoded)
const { issuerSerial } = proto.Details.decode(certIntermediate!.details!)
const { issuerSerial } = proto.CertChainNoiseCertificateDetails.decode(certIntermediate!.details!)
if(issuerSerial !== WA_CERT_DETAILS.SERIAL) {
throw new Boom('certification match failed', { statusCode: 400 })