Skip to content

Commit

Permalink
fix clippy (how did it pass CI last time????
Browse files Browse the repository at this point in the history
  • Loading branch information
bragov4ik committed May 8, 2024
1 parent 17f9ea4 commit 9aead80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub async fn upsert_many<C: ConnectionTrait>(

fn compute_id(height: u64, commitment: &[u8]) -> Vec<u8> {
// commitment is not unique, but the combination of the height and commitment is
Sha3_256::digest([&height.to_be_bytes()[..], &commitment].concat())
Sha3_256::digest([&height.to_be_bytes()[..], commitment].concat())
.as_slice()
.to_vec()
}

0 comments on commit 9aead80

Please sign in to comment.