Make signaturePacket.rawNotations[*].critical
a boolean
This commit is contained in:
parent
3a6e2d1661
commit
375b03dcd4
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user