From: Chris Duncan Date: Fri, 13 Dec 2024 22:14:26 +0000 (-0800) Subject: Tweak comment. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=f393a5c5de5c1703e94a0c61425b8e714dd7a5f9;p=libnemo.git Tweak comment. --- diff --git a/src/lib/workers/pow.ts b/src/lib/workers/pow.ts index 5678433..11fc25a 100644 --- a/src/lib/workers/pow.ts +++ b/src/lib/workers/pow.ts @@ -3,7 +3,8 @@ export class Pow { static SEND_THRESHOLD = '0xfffffff8' - static WORKLOAD: number = 256 * 4 // must be a multiple of 256 + /** Used to set canvas size. Must be a multiple of 256. */ + static WORKLOAD: number = 256 * 4 static async find (hash: string, threshold: string = this.SEND_THRESHOLD): Promise { return new Promise(resolve => {