diff --git a/packages/frontend/src/components/VDFtester.svelte b/packages/frontend/src/components/VDFtester.svelte index 22d6869..eeead88 100644 --- a/packages/frontend/src/components/VDFtester.svelte +++ b/packages/frontend/src/components/VDFtester.svelte @@ -79,12 +79,12 @@ let currentDifficulty: bigint | null = null; let worker: Worker | null = null; let currentTestIndex = 0; - const difficulties = [BigInt(100000), BigInt(1000000)]; + const difficulties = [BigInt(100), BigInt(1000)]; const testCombinations: { N: bigint; difficulty: bigint }[] = []; // 创建需要测试的 N 和难度的组合 - N_ARRAY.forEach(n => { - difficulties.forEach(difficulty => { + N_ARRAY.forEach((n) => { + difficulties.forEach((difficulty) => { testCombinations.push({ N: n, difficulty }); }); }); @@ -139,35 +139,55 @@ } -