From a7fbf324682fcbd325de5f6c53e18112c78d28f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 29 Oct 2024 10:40:25 +0100 Subject: [PATCH] refactor: blank lines cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/abstract-pool.ts | 1 - src/worker/abstract-worker.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 2d573f6c..6b551d70 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1314,7 +1314,6 @@ export abstract class AbstractPool< timestamp, transferList, } - if ( this.opts.enableTasksQueue === false || (this.opts.enableTasksQueue === true && diff --git a/src/worker/abstract-worker.ts b/src/worker/abstract-worker.ts index 0b425f78..c8aa5a05 100644 --- a/src/worker/abstract-worker.ts +++ b/src/worker/abstract-worker.ts @@ -73,6 +73,7 @@ export abstract class AbstractWorker< * Timestamp of the last task processed by this worker. */ protected lastTaskTimestamp!: number + /** * Runs the given task. * @param task - The task to execute. -- 2.34.1