From 3465dae25a88bf5317debeff9c461dcc7db1457b Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 9 Jul 2026 06:59:37 -0700 Subject: [PATCH] Remove non-hex strings from test page self-check. --- test/index.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/index.html b/test/index.html index af7fbb3..14d69bf 100644 --- a/test/index.html +++ b/test/index.html @@ -140,10 +140,6 @@ SPDX-License-Identifier: GPL-3.0-or-later expect.push(result) const prefixes = [ - '0B1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', - '0b1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', - '0O17777777777777777777777777777777777777777777777777777777777777777777777777777777777777', - '0o17777777777777777777777777777777777777777777777777777777777777777777777777777777777777', '0Xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', ' 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn ', @@ -157,7 +153,7 @@ SPDX-License-Identifier: GPL-3.0-or-later result = await NanoPow.work_generate(hash, { api, difficulty, effort, debug: isDebug }) console.log(result) } catch (err) { - document.getElementById('output').innerHTML += `Error: ${err.message}
` + document.getElementById('output').innerHTML += `Error: ${err.message}
${err.cause}
${err.stack}` console.error(err) return } -- 2.52.0