From: Chris Duncan Date: Thu, 2 Apr 2026 21:06:41 +0000 (-0700) Subject: Fix compilation difficulty. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=ed4125bcb26f7e4c62bc20d7cc366b33b69f61c9;p=nano-pow.git Fix compilation difficulty. --- diff --git a/test/index.html b/test/index.html index 65f0cf4..1fe9c80 100644 --- a/test/index.html +++ b/test/index.html @@ -73,7 +73,7 @@ SPDX-License-Identifier: GPL-3.0-or-later async function run(size, difficulty, effort, api, isOutputShown, isDebug, isSelfCheck) { // Generate once on load to compile shaders and initialize buffers - await NanoPow.work_generate(random(), { api, difficulty: 0 }) + await NanoPow.work_generate(random(), { api, difficulty: '0' }) const type = api api = type.toLowerCase() if (isSelfCheck) {