From: Chris Duncan Date: Sun, 26 Jul 2026 06:16:33 +0000 (-0700) Subject: Eliminate unused argument. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=2c76e6e1715425ea637156978afd0512a54d5676;p=nano-pow.git Eliminate unused argument. --- diff --git a/index.html b/index.html index 1c49c2a..eaa354a 100644 --- a/index.html +++ b/index.html @@ -41,8 +41,8 @@ SPDX-License-Identifier: GPL-3.0-or-later return gl?.drawingBufferHeight < gl?.drawingBufferWidth ? gl?.drawingBufferHeight : gl?.drawingBufferWidth })(new OffscreenCanvas(0, 0)) - function random (length = 32) { - const bytes = crypto.getRandomValues(new Uint8Array(length)) + function random () { + const bytes = crypto.getRandomValues(new Uint8Array(32)) return [...bytes].map(b => b.toString(16).padStart(2, '0')).join('') }