Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
brech1 committed Sep 29, 2023
1 parent e354466 commit e1eed67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eigentrust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ impl Client {
.map_err(|e| EigenError::ParsingError(format!("Error parsing domain: {}", e)))?;
let domain_bytes_256 = H256::from(domain_bytes);

let mut domain = domain_bytes_256.as_fixed_bytes().clone();
let mut domain = *domain_bytes_256.as_fixed_bytes();
domain.reverse();

let domain_opt = Scalar::from_bytes(&domain);
Expand Down

0 comments on commit e1eed67

Please sign in to comment.