mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-31 06:01:24 +00:00
added preview mode
This commit is contained in:
@@ -78,9 +78,7 @@ async function computePow(chatBytes, difficulty) {
|
||||
workBufferPtr = sbrk(workBufferLength);
|
||||
}
|
||||
|
||||
console.log('Starting POW computation...');
|
||||
const nonce = compute(hashPtr, workBufferPtr, workBufferLength, difficulty);
|
||||
console.log('POW computation finished.');
|
||||
|
||||
return { nonce, chatBytesArray };
|
||||
}
|
||||
|
Reference in New Issue
Block a user