mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-09-07 19:54:56 -04:00
various: fix minor typos (#187)
Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
parent
2b28439137
commit
661d72474b
@ -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.
|
- 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)).
|
- 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`.
|
- 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
|
## v1.15.1
|
||||||
|
|
||||||
|
@ -222,17 +222,17 @@ func TestPlaywrightBrowser(t *testing.T) {
|
|||||||
t.Skip("skipping hard challenge with deadline")
|
t.Skip("skipping hard challenge with deadline")
|
||||||
}
|
}
|
||||||
|
|
||||||
var perfomedAction action
|
var performedAction action
|
||||||
var err error
|
var err error
|
||||||
for i := 0; i < 5; i++ {
|
for i := 0; i < 5; i++ {
|
||||||
perfomedAction, err = executeTestCase(t, tc, typ, anubisURL)
|
performedAction, err = executeTestCase(t, tc, typ, anubisURL)
|
||||||
if perfomedAction == tc.action {
|
if performedAction == tc.action {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
time.Sleep(time.Duration(i+1) * 250 * time.Millisecond)
|
time.Sleep(time.Duration(i+1) * 250 * time.Millisecond)
|
||||||
}
|
}
|
||||||
if perfomedAction != tc.action {
|
if performedAction != tc.action {
|
||||||
t.Errorf("unexpected test result, expected %s, got %s", tc.action, perfomedAction)
|
t.Errorf("unexpected test result, expected %s, got %s", tc.action, performedAction)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("test error: %v", err)
|
t.Fatalf("test error: %v", err)
|
||||||
|
@ -106,7 +106,7 @@ function processTask() {
|
|||||||
const oldNonce = nonce;
|
const oldNonce = nonce;
|
||||||
nonce += threads;
|
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
|
// separate values, one simple way to do this is by bit masking the
|
||||||
// nonce for multiples of 1024. unfortunately, if the number of threads
|
// nonce for multiples of 1024. unfortunately, if the number of threads
|
||||||
// is not prime, only some of the threads will be sending the status
|
// is not prime, only some of the threads will be sending the status
|
||||||
|
Loading…
x
Reference in New Issue
Block a user