diff options
| author | Patrick Linnane <patrick@linnane.io> | 2025-04-01 10:14:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 17:14:02 +0000 |
| commit | 661d72474b8b879c5eca86c16ca5b95eaa59c101 (patch) | |
| tree | 342c8ee6bfbca2eec4027d55dbf34425d6305f93 | |
| parent | 2b28439137f978b7f37aad118571e28de504b90b (diff) | |
| download | anubis-661d72474b8b879c5eca86c16ca5b95eaa59c101.tar.xz anubis-661d72474b8b879c5eca86c16ca5b95eaa59c101.zip | |
various: fix minor typos (#187)
Signed-off-by: Patrick Linnane <patrick@linnane.io>
| -rw-r--r-- | docs/docs/CHANGELOG.md | 1 | ||||
| -rw-r--r-- | internal/test/playwright_test.go | 10 | ||||
| -rw-r--r-- | web/js/proof-of-work.mjs | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index 026e0ba..b7e1336 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed a typo in the challenge page title. - Disabled running integration tests on Windows hosts due to it's reliance on posix features (see [#133](https://github.com/TecharoHQ/anubis/pull/133#issuecomment-2764732309)). - Added support for passing the ed25519 signing key in a file with `-ed25519-private-key-hex-file` or `ED25519_PRIVATE_KEY_HEX_FILE`. +- Fixed minor typos ## v1.15.1 diff --git a/internal/test/playwright_test.go b/internal/test/playwright_test.go index 9cd9ffe..ae4022e 100644 --- a/internal/test/playwright_test.go +++ b/internal/test/playwright_test.go @@ -222,17 +222,17 @@ func TestPlaywrightBrowser(t *testing.T) { t.Skip("skipping hard challenge with deadline") } - var perfomedAction action + var performedAction action var err error for i := 0; i < 5; i++ { - perfomedAction, err = executeTestCase(t, tc, typ, anubisURL) - if perfomedAction == tc.action { + performedAction, err = executeTestCase(t, tc, typ, anubisURL) + if performedAction == tc.action { break } time.Sleep(time.Duration(i+1) * 250 * time.Millisecond) } - if perfomedAction != tc.action { - t.Errorf("unexpected test result, expected %s, got %s", tc.action, perfomedAction) + if performedAction != tc.action { + t.Errorf("unexpected test result, expected %s, got %s", tc.action, performedAction) } if err != nil { t.Fatalf("test error: %v", err) diff --git a/web/js/proof-of-work.mjs b/web/js/proof-of-work.mjs index a04f5ca..5ef3a8a 100644 --- a/web/js/proof-of-work.mjs +++ b/web/js/proof-of-work.mjs @@ -106,7 +106,7 @@ function processTask() { const oldNonce = nonce; nonce += threads; - // send a progess update every 1024 iterations. since each thread checks + // send a progress update every 1024 iterations. since each thread checks // separate values, one simple way to do this is by bit masking the // nonce for multiples of 1024. unfortunately, if the number of threads // is not prime, only some of the threads will be sending the status |
