use simple type conversion instead fmt package

This commit is contained in:
Steven Polley 2023-06-30 20:12:44 -06:00
parent f308e4351a
commit 75668ad531
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ func hashFile(filename string) (string, error) {
return "", fmt.Errorf("failed to copy data from file to hash function: %v", err)
}
return fmt.Sprintf("%x", h.Sum(nil)), nil
return string(h.Sum(nil)), nil
}
// false if a file is not a LineageOS ROM .zip file