Skip to content

Commit

Permalink
fix test rescue_hash_orders and cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred0327 committed Nov 2, 2023
1 parent bc9c215 commit 6630527
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions signers/src/zklink_signer/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ mod tests {

#[test]
fn test_rescue_hash_orders() {
let msg = [1u8, 2, 3, 4, 5];
let msg = [1u8; 178];
let hash = rescue_hash_orders(&msg);
assert_eq!(
hash,
vec![
88, 229, 220, 95, 31, 216, 185, 113, 100, 149, 78, 174, 140, 96, 206, 176, 152, 81,
237, 23, 246, 77, 252, 113, 151, 247, 40, 110, 136, 240, 36
165, 52, 198, 24, 171, 190, 215, 122, 29, 12, 31, 190, 98, 145, 72, 245, 89, 202,
199, 73, 239, 213, 234, 218, 74, 182, 95, 119, 141, 75, 253
]
);
}
Expand Down

0 comments on commit 6630527

Please sign in to comment.