From 9f010aa7822a23cdcd8714c5c5196f31162770fc Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 29 Nov 2024 22:59:12 -0800 Subject: [PATCH] Class reference to static member within static initializer should use 'this'. --- src/lib/blake2b.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/blake2b.ts b/src/lib/blake2b.ts index 4bc4032..e6073b3 100644 --- a/src/lib/blake2b.ts +++ b/src/lib/blake2b.ts @@ -47,7 +47,7 @@ export class Blake2b { * Multiply them all by 2 to make them offsets into a uint32 buffer, * because this is Javascript and we don't have uint64s */ - static SIGMA82 = new Uint8Array(Blake2b.SIGMA8.map(x => x * 2)) + static SIGMA82 = new Uint8Array(this.SIGMA8.map(x => x * 2)) // reusable parameter_block static parameter_block = new Uint8Array([ -- 2.34.1