From 47d4067478ed9d752e687ee6af7d1d73234d5099 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 2 Jan 2025 05:48:41 -0800 Subject: [PATCH] Remove zero threshold from block used for testing. --- src/lib/block.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/block.ts b/src/lib/block.ts index ac36f39..5b898c0 100644 --- a/src/lib/block.ts +++ b/src/lib/block.ts @@ -86,8 +86,7 @@ abstract class Block { const data = { "hash": this.previous, "threshold": (this instanceof SendBlock || this instanceof ChangeBlock) - // ? THRESHOLD_SEND - ? 0 + ? THRESHOLD_SEND : THRESHOLD_RECEIVE } const [{ work }] = await Block.#pool.assign([data]) -- 2.34.1