Skip to content

Commit bfffe27

Browse files
annas nice to haves part 2
1 parent 736682f commit bfffe27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export class UUID extends Binary {
451451
return false;
452452
}
453453

454-
return (input[6] & 0xf0) === 0x40;
454+
return (input[6] & 0xf0) === 0x40 && (input[8] & 0x80) === 0x80;
455455
}
456456

457457
return false;

0 commit comments

Comments
 (0)