]> zoso.dev Git - libnemo.git/commitdiff
Fix receive threshold.
authorChris Duncan <chris@zoso.dev>
Tue, 24 Dec 2024 10:22:26 +0000 (02:22 -0800)
committerChris Duncan <chris@zoso.dev>
Tue, 24 Dec 2024 10:22:26 +0000 (02:22 -0800)
src/lib/constants.ts
src/lib/workers/powgl.ts

index 6e6316c38a9d9834aa75588b6b3831c344f5202f..a888c88721dbc971dd1b74a28fe84681804ef281 100644 (file)
@@ -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 = 'ΣΎ'
 
index ed90f29fec0e4b1f666a487a812dba076df05f77..d681e7dc5bb6936ca55374a6bf6b71279fd1aea7 100644 (file)
@@ -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;