diff options
| author | 2025-05-03 16:45:25 +0000 | |
|---|---|---|
| committer | 2025-05-03 16:45:25 +0000 | |
| commit | 211192c482310f42849d7bfba7ce63f5ef6e5aa0 (patch) | |
| tree | 8d5485502c1311eccae775ba935536f82e16362e /web/template | |
| parent | [bugfix] Ensure Account and TargetAccount set when doing UndoFollow (#4118) (diff) | |
| download | gotosocial-211192c482310f42849d7bfba7ce63f5ef6e5aa0.tar.xz | |
[chore] more NoLLaMas proof-of-work tweaking (#4096)
- replaces the sha256 calculation with an alternative implementation that seems to use more uniform time-taken across different platforms
- goes back to the simpler difficulty calculation without a "partial" difficulty level
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4096
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'web/template')
| -rw-r--r-- | web/template/nollamas.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/template/nollamas.tmpl b/web/template/nollamas.tmpl index cc0f0f617..a02fd92f7 100644 --- a/web/template/nollamas.tmpl +++ b/web/template/nollamas.tmpl @@ -21,8 +21,7 @@ <main> <section class="nollamas" data-nollamas-challenge="{{ .challenge }}" - data-nollamas-difficulty1="{{ .difficulty1 }}" - data-nollamas-difficulty2="{{ .difficulty2 }}" + data-nollamas-difficulty="{{ .difficulty }}" > <h1>Checking you're not a creepy crawler...</h1> <noscript> |
