From 18014a59a5ff6d1691b3f7e906649929645a047e Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 11 Mar 2025 14:37:43 -0700 Subject: [PATCH] Fix test page validation not using same options as search. --- test.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.html b/test.html index 2855a96..14c42da 100644 --- a/test.html +++ b/test.html @@ -125,7 +125,7 @@ SPDX-License-Identifier: GPL-3.0-or-later return } const end = performance.now() - const isValid = (await NP.validate(work, hash)) ? 'VALID' : 'INVALID' + const isValid = (await NP.validate(work, hash, { threshold, debug: isDebug })) ? 'VALID' : 'INVALID' times.push(end - start) const msg = `${isValid} [${work}] ${hash} (${end - start} ms)` if (isOutputShown) document.getElementById('output').innerHTML += `${msg}
` -- 2.34.1