use simple type conversion instead fmt package
This commit is contained in:
parent
f308e4351a
commit
75668ad531
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user