From: Chris Duncan Date: Tue, 24 Dec 2024 10:22:26 +0000 (-0800) Subject: Fix receive threshold. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=02353d805d3c815c41fe45e620e90e6d9021eae9;p=libnemo.git Fix receive threshold. --- diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 6e6316c..a888c88 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -16,7 +16,7 @@ export const PREFIX_LEGACY = 'xrb_' export const SEED_LENGTH_BIP44 = 128 export const SEED_LENGTH_BLAKE2B = 64 export const SLIP10_ED25519 = 'ed25519 seed' -export const THRESHOLD_RECEIVE = 0xfffffe +export const THRESHOLD_RECEIVE = 0xfffffe00 export const THRESHOLD_SEND = 0xfffffff8 export const XNO = 'Ó¾' diff --git a/src/lib/workers/powgl.ts b/src/lib/workers/powgl.ts index ed90f29..d681e7d 100644 --- a/src/lib/workers/powgl.ts +++ b/src/lib/workers/powgl.ts @@ -64,7 +64,7 @@ out vec4 fragColor; // Precalculated block hash components uniform uint blockHash[8]; -// Threshold is 0xfffffff8 for send/change blocks and 0xfffffe for all else +// Threshold is 0xfffffff8 for send/change blocks and 0xfffffe00 for all else uniform uint threshold; // Defines canvas size uniform float workload;