Import Anubis v1.28.2
Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3). Masyunis customizations are re-applied in the following commits.
This commit is contained in:
1 parent
eb3e46d8d0
commit
e07de898cd
573 files changed
+35846
-6807
No files matched your search
+4
-1
@@ -56,7 +56,10 @@ const benchmarkTrial = async (stats, difficulty, algorithm, signal) => {
|
||||
|
||||
const t0 = performance.now();
|
||||
const { hash, nonce } = await process(
|
||||
{ basePrefix: "/", version: "devel" },
|
||||
// basePrefix is joined as `${basePrefix}/.within.website/...`, so "/" here
|
||||
// produces a protocol-relative "//.within.website/..." URL rather than a
|
||||
// same-origin one.
|
||||
{ basePrefix: "", version: "devel", algorithm },
|
||||
challenge,
|
||||
Number(difficulty),
|
||||
signal,
|
||||
|
||||
Reference in new issue
Block a user