From 56ab8121ae5fe8ad9f6d1fbc06d208319deb8ad0 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 5 Nov 2024 22:01:46 -0800 Subject: [PATCH] Remove unnecessary argument. --- src/lib/tools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tools.ts b/src/lib/tools.ts index aa53be5..797ce03 100644 --- a/src/lib/tools.ts +++ b/src/lib/tools.ts @@ -69,7 +69,7 @@ export async function convert (amount: bigint | string, inputUnit: string, outpu */ export async function blake2b (data: string | string[]): Promise { if (!Array.isArray(data)) data = [data] - const ctx = blake2bInit(32, undefined) + const ctx = blake2bInit(32) data.forEach(str => blake2bUpdate(ctx, hex.toBytes(str))) return blake2bFinal(ctx) } -- 2.34.1