fix: clippy byte_char_slices lint, Docker java artifact path

This commit is contained in:
loki5512344 2026-07-21 16:34:30 +02:00
parent 997da7fbd3
commit 35d20e97db
Signed by: boba
GPG key ID: 253067914055423B
3 changed files with 1 additions and 3 deletions

View file

@ -2,7 +2,7 @@ use crate::pow::challenge::Challenge;
use sha2::{Digest, Sha256};
use subtle::ConstantTimeEq;
const ALLOWED: [u8; 4] = [b'0', b'1', b'2', b'3'];
const ALLOWED: [u8; 4] = *b"0123";
pub fn verify(challenge: &mut Challenge, nonce: &str) -> bool {
if challenge.used {