From 74475dca6886dd8e79ac495ab360820edd00b9e8 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Fri, 13 Jan 2023 15:02:07 +0000 Subject: [PATCH] Fix lint --- test/jubjub.test.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/test/jubjub.test.js b/test/jubjub.test.js index 6bdd48c..d5a88a2 100644 --- a/test/jubjub.test.js +++ b/test/jubjub.test.js @@ -33,8 +33,8 @@ describe('jubjub', () => { throws(() => jubjub.Point.fromHex( new Uint8Array([ - 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, + 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, ]) ) ); @@ -62,8 +62,14 @@ describe('jubjub', () => { }); should('Find generators', () => { - const spend = findGroupHash(new Uint8Array(), new Uint8Array([90, 99, 97, 115, 104, 95, 71, 95])); - const proof = findGroupHash(new Uint8Array(), new Uint8Array([90, 99, 97, 115, 104, 95, 72, 95])); + const spend = findGroupHash( + new Uint8Array(), + new Uint8Array([90, 99, 97, 115, 104, 95, 71, 95]) + ); + const proof = findGroupHash( + new Uint8Array(), + new Uint8Array([90, 99, 97, 115, 104, 95, 72, 95]) + ); deepStrictEqual(getXY(spend.toAffine()), getXY(G_SPEND.toAffine())); deepStrictEqual(getXY(proof.toAffine()), getXY(G_PROOF.toAffine())); });