fix lint warnings

This commit is contained in:
Darien Raymond
2018-11-13 23:19:58 +01:00
parent c5ccbe6b63
commit a14fae4b35
11 changed files with 26 additions and 17 deletions
+4 -4
View File
@@ -21,10 +21,10 @@ import (
)
func hashTimestamp(h hash.Hash, t protocol.Timestamp) []byte {
serial.WriteUint64(h, uint64(t))
serial.WriteUint64(h, uint64(t))
serial.WriteUint64(h, uint64(t))
serial.WriteUint64(h, uint64(t))
common.Must2(serial.WriteUint64(h, uint64(t)))
common.Must2(serial.WriteUint64(h, uint64(t)))
common.Must2(serial.WriteUint64(h, uint64(t)))
common.Must2(serial.WriteUint64(h, uint64(t)))
return h.Sum(nil)
}