From: Chris Duncan Date: Thu, 2 Jan 2025 13:48:41 +0000 (-0800) Subject: Remove zero threshold from block used for testing. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=47d4067478ed9d752e687ee6af7d1d73234d5099;p=libnemo.git Remove zero threshold from block used for testing. --- 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])