Make signaturePacket.rawNotations[*].critical a boolean

This commit is contained in:
Daniel Huigens 2023-02-15 19:19:30 +01:00
parent 3a6e2d1661
commit 375b03dcd4

View File

@ -354,7 +354,7 @@ class SignaturePacket {
let mypos = 0; let mypos = 0;
// The leftmost bit denotes a "critical" packet // The leftmost bit denotes a "critical" packet
const critical = bytes[mypos] & 0x80; const critical = !!(bytes[mypos] & 0x80);
const type = bytes[mypos] & 0x7F; const type = bytes[mypos] & 0x7F;
if (!hashed) { if (!hashed) {