Skip to content

Commit 1375670

Browse files
Fixed linting error
1 parent b2ccb9a commit 1375670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/Point.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export default class Point extends BasePoint {
445445
* const encodedPointHex = aPoint.encode(true, 'hex');
446446
*/
447447
encode (compact: boolean = true, enc?: 'hex'): number[] | string {
448-
if (this.inf === true) {
448+
if (this.inf) {
449449
if (enc === 'hex') return '00'
450450
return [0x00]
451451
}

0 commit comments

Comments
 (0)