all: Even more boring linter fixes (#5501)
This commit is contained in:
@@ -35,7 +35,7 @@ func repeatedDeviceID(v byte) (d DeviceID) {
|
||||
func NewDeviceID(rawCert []byte) DeviceID {
|
||||
var n DeviceID
|
||||
hf := sha256.New()
|
||||
hf.Write(rawCert)
|
||||
_, _ = hf.Write(rawCert)
|
||||
hf.Sum(n[:0])
|
||||
return n
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user