summaryrefslogtreecommitdiffstats
path: root/cmd/nymdrop-reader/main.go
diff options
context:
space:
mode:
authorGab Virebent <gabriel1@virebent.art>2026-07-01 17:48:59 +0200
committerGab Virebent <gabriel1@virebent.art>2026-07-01 17:48:59 +0200
commit487adbaab5b1227a9a15ae7b3d4116c93ffde4ba (patch)
tree80a415811e7c12a22a23b340931687d218243db8 /cmd/nymdrop-reader/main.go
parent71e4fd1593b1d708e4f41f5e5119689435ff956e (diff)
downloadnymdrop-487adbaab5b1227a9a15ae7b3d4116c93ffde4ba.tar.gz
nymdrop-487adbaab5b1227a9a15ae7b3d4116c93ffde4ba.tar.xz
nymdrop-487adbaab5b1227a9a15ae7b3d4116c93ffde4ba.zip
Fix PoW status message never rendering in the browser
A tight loop of only-awaited crypto.subtle.digest calls never yields to the browser's rendering pipeline (they resolve as microtasks), so the "computing proof of work" status update was silently skipped from the user's perspective even though the computation ran correctly. Insert an explicit macrotask yield before and periodically during the search so the message actually paints and the tab stays responsive.
Diffstat (limited to 'cmd/nymdrop-reader/main.go')
0 files changed, 0 insertions, 0 deletions