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

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
MRamanenkau committed May 18, 2023
1 parent 1196f0d commit 1b5a218
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions frame/ddc-validator/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,3 @@ pub(crate) fn hash(data: &String) -> [u8; 32] {

result
}

// pub(crate) fn get_hashed(data: &Vec<ValidationResult>) -> [u8; 256] {
// let results_log = serde_json::to_string(data).unwrap();
// let mut payload: [u8; 256] = [0; 256];
// let hashed_results = hash(&results_log);
// payload[..32].copy_from_slice(&hashed_results);
//
// payload
// }

0 comments on commit 1b5a218

Please sign in to comment.