From: Chris Duncan Date: Sun, 26 Jul 2026 08:34:30 +0000 (-0700) Subject: Fix validation tool. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=d562b55801f0a6e35a863277a17594f0e2ec8d2b;p=nano-pow.git Fix validation tool. --- diff --git a/index.html b/index.html index 4801165..19f5076 100644 --- a/index.html +++ b/index.html @@ -271,7 +271,7 @@ SPDX-License-Identifier: GPL-3.0-or-later if (work.length === 16 && hash.length === 64) { NanoPow.work_validate(work, hash, { difficulty }) .then(result => { - validation.innerText = result + validation.innerText = +result.valid ? `\u2713` : `\u274c` })