From: Chris Duncan Date: Thu, 21 May 2026 18:36:22 +0000 (-0700) Subject: Fix test status output. X-Git-Tag: v5.1.15~1^2 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=f4ca21c31e0f852459d75ec90ec89494bb72e78d;p=nano-pow.git Fix test status output. --- diff --git a/test/index.html b/test/index.html index 26abadf..2c90f01 100644 --- a/test/index.html +++ b/test/index.html @@ -161,7 +161,6 @@ SPDX-License-Identifier: GPL-3.0-or-later } } - document.getElementById('status').innerHTML = `TESTING IN PROGRESS 0/${size}` console.log(`%cNanoPow (${type})`, 'color:green', `Calculate proof-of-work for ${size} unique send block hashes`) const times = [] for (let i = 0; i < size; i++) { @@ -195,7 +194,7 @@ SPDX-License-Identifier: GPL-3.0-or-later for (let i = 0; i < runs; i++) { const times = [] for (let j = 0; j < size; j++) { - document.getElementById('status').innerHTML = `SCORING IN PROGRESS. THIS WILL TAKE A LONG TIME. ${i}/${size} ${j}/${runs}
` + document.getElementById('status').innerHTML = `SCORING IN PROGRESS. THIS WILL TAKE A LONG TIME. ${i}/${runs} ${j}/${size}
` const hash = random() let result = null const start = performance.now()