Skip to content

Commit d1a0911

Browse files
authored
Found the bug?
1 parent d74f552 commit d1a0911

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Build/src/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@
463463
status.textContent = `Challenge received! Prefix: ${data.prefix.substring(0, 16)}...Target: ${data.target.substring(0, 16)}...`;
464464
} catch (err) {
465465
status.className = 'challenge-status error';
466-
status.textContent = 'Failed to get challenge: ' + getErrorMessage(err);
466+
status.textContent = 'Failed to get challenge: ' + getErrorMessage(err);
467467
}
468468
});
469469

@@ -482,7 +482,7 @@
482482

483483
while (!solverCancel) {
484484
for (let i = 0; i < batchSize && !solverCancel; i++) {
485-
const input = `${prefix}: ${nonce}`;
485+
const input = `${prefix}:${nonce}`;
486486
const hash = await sha256Hex(input);
487487

488488
if (hash < target.toLowerCase()) {
@@ -598,4 +598,4 @@
598598

599599
// Init
600600
console.log('LRCGetter Frontend loaded');
601-
})();
601+
})();

0 commit comments

Comments
 (0)