fix: clippy byte_char_slices lint, Docker java artifact path
This commit is contained in:
parent
997da7fbd3
commit
35d20e97db
3 changed files with 1 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue